Latest posts on category "Technology"

 

  1. Grouping by Multiple Columns
continue...

Hitting Web API action, I was getting this error: The 'ObjectContent`1' type failed to serialize the response body for content type 'application/xml; charset=utf-8'. Check the solution...

continue...

Url Rewriting in ASP.NET in Web Forms Application. In this post we will see how to implement Url Rewriting in ASP.NET using both static as well as dynamic URL.

continue...

The current configuration system does not support user-scoped settings. This issue can either occur in any web application, in general it can be a WCF Service, Web Service and in my case its a SSRS Service.

continue...

While working with HttpClient class to connect to external REST API’s from C# code and implementing solution with asynchronous programming(Async / Await). Since class library project already have reference of System.Net.Http but issue coming with extension method ReadAsAsync().

'HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method 'ReadAsAsync' accepting a first argument of type 'HttpContent' could be found (are you missing a using directive or an assembly reference?)

continue...

Build​ ​and​ ​Release​ ​Process​ ​for​ ​SQL​ ​Server​ ​Database​ ​Scripts​ ​using​ ​Online​ ​TFS​ ​​Step​ ​by​ ​Step Here, I will explain step by step how to create Continuous Build and Release process for SQL Server Scripts. The steps are self explanatory along with relevant screenshots.

continue...

 

In this post, we will explore some important tips while working on MVC. Note that while jotting down these tips, MVC4 was used. In latest versions like MVC 5 or MVC 6. These tips are useful while working hands on MVC. Here are some important tips for ASP.NET MVC:-

  1. Disable Request Validation
  2. Cache Your Data
  3. Isolate Data Access Logic from the Controller
  4. Using a Master View Model
  5. Use Strongly Typed Models
  6. Use Data Annotations for Validation
  7. Take Advantage of Model Binding
  8. Cache Pages that Contain Shared Data or are Public and don't Require Authorization
  9. Use Extension Methods
  10. Take Advantage of Model Binding

 

continue...