Quantcast
Channel: I Came, I Learned, I Blogged
Browsing all 27 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

IIS “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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

InvalidCastException 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

Image may be NSFW.
Clik here to view.

.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 Article


Image may be NSFW.
Clik here to view.

HTML5 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 Article

Image may be NSFW.
Clik here to view.

Getting 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 Article

Image may be NSFW.
Clik here to view.

Handling 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 Article


Image may be NSFW.
Clik here to view.

Force 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 Article


Image may be NSFW.
Clik here to view.

First 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 Article

Image may be NSFW.
Clik here to view.

Oracle 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

Taking 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 Article


Image may be NSFW.
Clik here to view.

CSRF 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 Article

Image may be NSFW.
Clik here to view.

First 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 Article


Image may be NSFW.
Clik here to view.

vNext 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 Article

Image may be NSFW.
Clik here to view.

ASP.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


Image may be NSFW.
Clik here to view.

First 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 Article

Image may be NSFW.
Clik here to view.

vNext 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 Article

Image may be NSFW.
Clik here to view.

ASP.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
Browsing all 27 articles
Browse latest View live




Latest Images