Posting complex types using ASP.NET Ajax, WebForms
This is a minor post, which is some sort of a completion to the previous post dealing with the same topic only for using MVC. So, if you require background, you may want to consider reading that post...
View ArticleIIS “Mixed Authentication”: Securing a web site with Basic Authentication and...
I have come across a situation where I needed to secure a specific web service with Basic Authentication, in a web site that is secured using Forms Authentication. Unfortunately in IIS this is not as...
View ArticleThe CORS
Intro It’s a common practice to use Ajax, Silverlight or Flash to communicate with the server on the same domain. However, at times, you are required to access another domain, and this may be...
View ArticleInvalidCastException when using Assembly.LoadFile
Here is something that I have come across which puzzled me. If you are required to write an extensible application that uses plugins, and you have used dynamically loaded assemblies to accomplish that,...
View Article.NET 4 URL Routing for Web Services (asmx)
This post describes how to perform Url Routing to a Web Service. If you’re just interested in the solution, click here. OK, this was a tough one. The goal was to implement URL routing for an existing...
View ArticleHTML5 Drag and Drop Ajax file upload using jQuery File Upload plugin
If you just want the sample, right click this link, save as, rename to zip and extract. This post is in a way a continuation of an earlier post, which explains how you can achieve an Ajax File Upload...
View ArticleGetting the parameters and values of the SoapMessage
Sometimes it’s a good practice to be able to process a WebService request’s argument. You may want to consider various things: logging the arguments, detecting specific arguments for some business...
View ArticleHandling unhandled Task exceptions in ASP.NET 4
This blog post isn’t intended to explain how to use IsFaulted or any other method for handling Task exceptions in a specific block of code, but how to provide a general solution to handling unhandled...
View ArticleForce a website to https using IIS Custom Error pages
A well common requirement for secure websites is not only to support https but to make it mandatory. The problem is that if you require an SSL from your website, the end user receives an ugly 403.4...
View ArticleFirst attempt at AngularJS and ASP.NET’s PageMethods & WebMethods
If you need the example, right click this link, Save As and rename to zip. I made a first attempt at AngularJS and was particularly interested in how I can use it alongside ASP.NET Ajax. The reason is...
View ArticleOracle ODP.NET provider and BLOBs over internet environment
Here’s a problem. If you run your queries in an environment where the DB and the .NET code are geographically close and the ping times are short, you are less likely to notice this issue. But when...
View ArticleThe curious case of System.Timers.Timer
Basically there are 3 Timer classes in .NET: WinForms timer, System.Timers.Timer and System.Threading timer. For a non-WinForms your choice is between the two latter timers. For years I have been...
View ArticleTaking a [passport] photo using your camera and HTML 5 and uploading the...
If you just want the sample, right click this link, save as, rename to zip and extract. You can use your HTML 5 browser to capture video and photos. That is if your browser supports this feature (at...
View ArticleCSRF and PageMethods / WebMethods
If you’re interested in the code shown in this post, right-click here, click Save As and rename to zip. In short, Cross-Site Request Forgery (CSRF) attack is one that uses a malicious website to send...
View ArticleFirst steps with ASP.NET vNext
This is a big topic. I have had trouble writing about this because it is so big. So I decided to split it into several blog posts. This first post is divided into several parts: intro, cool features,...
View ArticlevNext and Class Libraries
This is a followup to the previous post discussing my first steps with vNext. I suggest reading it first. vNext class libraries are similar in concept to a regular .NET library. Like ASP.NET vNext they...
View ArticleASP.NET 5, DNX, stepping into MS source code
One feature which I find awesome in ASP.NET 5/vNext is the ability to download MS source code and debug it locally (I discussed this here under the global.json section). This was discussed in several...
View ArticleFirst steps with ASP.NET vNext
This is a big topic. I have had trouble writing about this because it is so big. So I decided to split it into several blog posts. This first post is divided into several parts: intro, cool features,...
View ArticlevNext and Class Libraries
This is a followup to the previous post discussing my first steps with vNext. I suggest reading it first. vNext class libraries are similar in concept to a regular .NET library. Like ASP.NET vNext they...
View ArticleASP.NET 5, DNX, stepping into MS source code
One feature which I find awesome in ASP.NET 5/vNext is the ability to download MS source code and debug it locally (I discussed this here under the global.json section). This was discussed in several...
View Article
More Pages to Explore .....