Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
About
RSS for comments
RSS for posts
Search
Tags
.NET Framework
Asp.net
Debugging
dos
e2e
etw
indigo
linq
Microsoft
perf
Personal
pooling
powershell
router
sos
svcperf
Technology
threading
WF
windbg
Windows Mobile/CF
WinFX
Work
WS-* and WCF
XBOX
Archives
Archives
January 2013
(2)
December 2011
(1)
April 2011
(1)
January 2011
(1)
November 2010
(3)
October 2010
(2)
September 2010
(3)
August 2010
(4)
July 2010
(3)
June 2010
(1)
March 2010
(1)
January 2010
(1)
November 2009
(2)
September 2009
(2)
August 2009
(7)
July 2009
(1)
June 2009
(9)
February 2009
(2)
December 2008
(2)
November 2008
(1)
October 2008
(3)
August 2008
(1)
July 2008
(1)
April 2008
(1)
February 2008
(1)
January 2008
(1)
October 2007
(1)
July 2007
(1)
June 2007
(1)
May 2007
(2)
April 2007
(2)
March 2007
(1)
January 2007
(1)
December 2006
(7)
November 2006
(2)
October 2006
(2)
September 2006
(3)
August 2006
(5)
July 2006
(6)
June 2006
(3)
May 2006
(7)
April 2006
(3)
March 2006
(8)
February 2006
(2)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Sajay's Blog
Powershell Script to create an MSMQ
Posted
over 3 years ago
by
Sajay Antony
7
Comments
Here is a script to quickly create and delete queues. This was based out of this post . Usage : CreateQueue.ps1 <-c,d> <queuename> <Y/N - Private> <user> <all:restricted Permission> [T:Transactional]
Sajay's Blog
Can you call private members from a different class?
Posted
over 7 years ago
by
Sajay Antony
6
Comments
Standing by OO principles we would have to say "Private memebers are only visible to to the class in which it is defined" This is the MSDN Defintion for the C# private keyword "The private keyword is a member access modifier. Private access is the...
Sajay's Blog
Using a Session in WCF through AspNetCompatibility
Posted
over 7 years ago
by
Sajay Antony
5
Comments
Firstly let us all thank Steve Main . The session/state model is the same that is leveraged by the asp.net framework and hence all the feature of state management comes bundled with it. On a moral note its the responsibility of using this is upto the...
Sajay's Blog
Disabling Anonymous Authenticaiton on IIS for Message Security and Impersonation
Posted
over 7 years ago
by
Sajay Antony
4
Comments
When hosting WCF services in IIS we would ideally want to disable anonymous authenticaion on a website when there are other resources or type of endoints being hosted on that site. The solution to this is not quite obvious.The problem basically is that...
Sajay's Blog
TransportWithMessageCredentials - I need to know who is knocking on my door.
Posted
over 7 years ago
by
Sajay Antony
4
Comments
The point to be noted here is that even though the security facts of comminication like integrity and confidentiality is taken care of by the transport we might not get enough information from the client as to "Who are you?". Now for this case you need...
Sajay's Blog
Passing a UserName as a supporting token.
Posted
over 7 years ago
by
Sajay Antony
3
Comments
Firstly i would like to thank Brent Schmaltz who helped me solve this problem. When trying to secure messages might require more than than the primary token to identity the client. We can then resort to sending additional information that would help in...
Sajay's Blog
Musings on Workflow Terminated and Exception Handling
Posted
over 6 years ago
by
Sajay Antony
3
Comments
When a workflow runs an activity and that activity throws some kind of unhandled exception you would notice that your workflow get terminated. I have see in many articles that explain how the termination happens. Now this is fine only for a rare set of...
Sajay's Blog
Vista Beta 2 - An Eye Candy
Posted
over 7 years ago
by
Sajay Antony
3
Comments
I am really happy that hey kept the side bar. Really makes it an awesome space utilization for more wider monitors.
Sajay's Blog
Hiding UpdatePanel during UpdateProgress
Posted
over 7 years ago
by
Sajay Antony
2
Comments
This was a very simple requirement to hide the currently updating controls. I first ran to the the forums and came across this . The trick was quite simple. When we depend control inside the updatePanel this technique fails. The idea is to wrap the update...
Sajay's Blog
Adding a Message Header without using a MessageContract
Posted
over 7 years ago
by
Sajay Antony
2
Comments
Using Message contracts is quite a straight forward way of creating and adding message headers.But then again you might just want to add a header without going downt that route like this post by Kenny . You generally come across 2 scenarios where you...
Sajay's Blog
WCF Performance Counters
Posted
over 4 years ago
by
Sajay Antony
2
Comments
Note: Cross posted from Sajay . We generally need to have a quick set of performance counters to identify a performance issue with a service. Shown below are three new counters that you will find with WCF 4.0. I also want to emphasize on the Calls...
Sajay's Blog
ServiceThrottlingBehavior defaults for .NET 4
Posted
over 4 years ago
by
Sajay Antony
1
Comments
This is one of the new updates that you will find with the .NET 4 installation. This was a decision we reached after understanding the fact that almost all customers had to bump this number up to a sweet spot of around 100 sessions. However the initial...
Sajay's Blog
Load Balancing WCF - basicHttpBinding
Posted
over 7 years ago
by
Sajay Antony
1
Comments
Load balancing WCF with basicHttpBinding can be done using the keepAliveEnabled property when there is connection reuse. Basically this property when enabled, enables a client to maintain a persistent connection with the service and gives enhanced throughput...
Sajay's Blog
Web Hosted Sample with UserNamePassword Supporting Token
Posted
over 7 years ago
by
Sajay Antony
1
Comments
In the Passing a UserName as a supporting token post was pretty much a single console app to demo the basic flow. This sample is a bit more richer and shows a web hosted service that requires the usernameSecurity token. To configure it please create...
Sajay's Blog
ServiceAuthorizationManager and PrincipalPermission
Posted
over 7 years ago
by
Sajay Antony
1
Comments
You may face a problem when trying to check for Principal permission and demand in the CheckAccessCore of the SerivceAuthorizationManager and you might see a security exception. This is primarily because the threads principal is not set when this demand...
Sajay's Blog
Checking the SIDs in the WindowsClaimSet
Posted
over 7 years ago
by
Sajay Antony
1
Comments
In continuation to my post of SAM vs PP , we concluded that to avoid fractured policy checking we can still check if the user belongs to a particular group by checking the occurence of an SID in the WindowsClaimSet that he submits to the service. One...
Sajay's Blog
Disabling JIT Optimizations
Posted
over 6 years ago
by
Sajay Antony
1
Comments
INI files are not dead yet :) Now if you wanted to disable JIT optimization then place this into your application directory as a <appName>.ini file [.NET Framework Debugging Control] GenerateTrackingInfo=1 AllowOptimize=0 Why would you...
Sajay's Blog
Timeouts and WCF - httpRuntime
Posted
over 6 years ago
by
Sajay Antony
1
Comments
There seems to be very little documentation around the timeout behaviors for the client and service and configuring so many knobs can get you in a fix if you dont know what you are tweaking. The below snippet shows how enable one of these scenarios to...
Sajay's Blog
Throttling using managed semaphores and named monitors
Posted
over 6 years ago
by
Sajay Antony
1
Comments
Firstly I would like to explain what is a managed semaphore. This was introduced to me during a session by Andy Clymer (developmetor). Basically the requirement of a semaphore is pretty clear but then again we don't have to resort to kernel objects and...
Sajay's Blog
Xbox and Vista Connectivity
Posted
over 5 years ago
by
Sajay Antony
1
Comments
After quite a long blog on managed semaphores this would be quite a refresher. :) When trying to connect your XBOX 360 to your vista with Media center things can get pretty interesting. There are quite a few posts that would tell you trouble shooting...
Sajay's Blog
Sending a simple String using WCF - Understanding the channel stack.
Posted
over 5 years ago
by
Sajay Antony
1
Comments
The snippet below might not be for the faint hearted. Primarily since its quite gory wcf. I realized that there is so much abstraction in the Service model's channel layers thats its only justice that someone does a simple sample in how to send and read...
Sajay's Blog
Finally Zermatt's here
Posted
over 5 years ago
by
Sajay Antony
1
Comments
IIts been a long wait. After working with customers for getting out their token service and doing all the claim based black magic, finally we have a framework. Its not a bubble gum and match stick situation more and its a full framework. If you want...
Sajay's Blog
WF 4.0 First Look!
Posted
over 5 years ago
by
Sajay Antony
1
Comments
More coming up Here is the First Look at WF 4.0 talk by Kenny http://channel9.msdn.com/pdc2008/TL17/
Sajay's Blog
Bird is leaving the blogs.msdn.com nest
Posted
over 5 years ago
by
Sajay Antony
1
Comments
After quite a lot of hard work I finally managed to move and aggregate stuff and so have moved onto http://sajay.com . What even was or would have been here is now at http://sajay.com/category/Microsoft.aspx Microsoft (68) Thats all folks.
Sajay's Blog
Speaking at Techready
Posted
over 4 years ago
by
Sajay Antony
1
Comments
*** MOVED to http://www.sajay.com/post/2009/02/05/Speaking-at-Techready.aspx This was my first time presenting at Techready . Being a part of the performance dev team in WCF, this would be a natural topic to pick up. The audience was great and we were...
Page 1 of 5 (114 items)
1
2
3
4
5