Shahed Khan
19 posts.
- Implement custom Claim based Authorization in ASP.NET MVC Web ApplicationTo download the source code please click here Introduction Claim-based authorization is a new model of authorization introduced in Windows Communication…
- ASP.NET MVC, ASP.NET Tips: Provide immediate feedback to the browser on Long Running Tasks – using regular web handlerAs an ASP.NET developer we frequently deal with long running tasks for example: - Making long-lasting webservice calls. - Making prolonged calls to…
- ASP.NET MVC, ASP.NET Tips: Provide immediate feedback to the browser on Long Running Tasks – by streaming regular ASP.NET pageHere in this series of post I am discussing few techniques to give client instant feedback on task progress in ASP.NET page. In the previous post I have…
- ASP.NET MVC, ASP.NET Tips: Provide immediate feedback to the browser on Long Running Tasks – in Asynchronous ASP.NET pages to download…
- ASP.NET tips: Display resultset from Multiple DataTableI normally do not use DataSet and prefer Objects instead generated by the ORM frameworks, but recently I had to produce a ASP.NET page that displayed a…
- C# Reflection Tips: Data transformation using Reflection.NET Reflection can be quite handy to transform one object to another, and specially when the target data structure varies a lot. Lets say, a "source…
- ASP.NET tips: Golden rules for Dynamic Controls.1\. Make sure your dynamic controls are Loaded on every postback. Lets play with a very simple example, ASPX <%@ Page Language="C#" AutoEventWireup="true"…
- Solving DNN deployment issues, Redirecting to localhost and Running DNN in a different portI was trying to host a small DNN application in one of our Server and I was facing couple of issues. Problem 1: The first problem I faced is it was always…
- Different ways of Validating ASP.NET FormsValidating user input is a very common task that we perform during web page development, and in the ASP.NET world we have a handful amount of choices to…
- Sql 2005 Database diagram support objects cannot be installed because this database does not have a valid ownerProblem After restoring DB in SQL Server 2005 db most of the time I get the following error: Database diagram support objects cannot be installed because…
- Smart404: Handle 404 smartly in ASP.NETIntroduction The 404 or Not Found error message is an HTTP standard response code, there are many reasons for a 404 to show up like,
- Databinding using ObservableCollection<T>Someone asked me today: I have a text field and a drop down menu, based on the values of these 2 when i click on a button an api call is made to get the…
- Ajax.Asp.Net Tips and Tricks: Adding Dynamic Controls to UpdatePanel and Identifying what control has triggered the event.Here is a cool technique on how to identify which control has triggered the UpdatePanel (when dynamic controls are added during runtime). Here we will use…
- Free Asp.Net GoodiesSome zero cost resources for asp.net develpers. source: http://www.code-magazine.com/article.aspx?quickid=0411041&page=1
- How to Get Enum Values with Reflection in C#This came up when I was writing a UIProperty for SmartCodeGenerator, The combo box should display all the available enum options in a DropDownList for the…
- Using Reflection to Get and Set values of PropertiesThe assembly that is generated for .Net Framework has metadata that describes the structure of the assembly and its classes. By using reflection we can…
- Batch Compilation Asp.NetWe are aware that the complition process of Asp.Net 1.x Web page has two phases. 1\. Code Behind files and other supporting classes compiled into an…
- Enterprise Library June 2005 Instrumentation IssueI started getting the following error in one of the site that I am recently installing ( win 2000,.Net 1.1) Access to performance data was denied to…
- Difference between Mutex and SemaphoreSource: http://koti.mbnet.fi/niclasw/MutexSemaphore.html The Toilet Example (c) Copyright 2005, Niclas Winquist ;) Mutex: Is a key to a toilet. One person…
