Posts

Showing posts from 2014

No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0'. Make sure the provider is registered in the 'entityFramework' section of the application config file

Image
In this post you will see resolution to fix error given below: Server Error in '/' Application. No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

Learn MVC in 2 days by Questpond

Image
Shivprasad Koirala who is a ASP.NET MVP and good friend of mine has released Learn MVC 5 in 2 days video series. You should checkout if you want to  learn  the roots of ASP.NET MVC Technology. Below is the first video from the series, hope you enjoy it. http://www.youtube.com/watch?v=Lp7nSImO5vk

[A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

I was just building another MVC 4 Application and found this error: [A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'. Type B originates from 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'. I noticed it came up just after MVC 3 Application to MVC 4 Application migration. Thought to share if this helps someone.

BlogEngine - an open source blogging solution

Image
BlogEngine.NET is an open source ASP.NET project that was born out of desire for a better blogging platform. Which focused on simplicity, ease of use, extendibility and innovative design while taking advantage of the latest .NET features. BlogEngine.NET is easily customizable. It has many downloadable themes, widgets, and extensions or you can make your own with some basic .NET skills. With BlogEngine.NET, it is easy to make your blog look and function exactly how you’d like. Since it is open-source, source code is available free to download, deploy and customize. Just click here to download your copy today. Download Complete Source Code

nopCommerce 3.30 - an open source ecommerce

Image
nopCommerce is an open source ecommerce software that contains both a catalog frontend and an administration tool backend. nopCommerce is a fully customizable shopping cart. It's stable and highly usable. From downloads to documentation, nopCommerce.com offers a comprehensive base of information, resources, and support to the nopCommerce community.

Publish in Visual Studio 2013 or 2015 Crashes IDE

Image
Recently I faced this issue when I was trying to publish my website on Azure Websites. Here is the screenshot. I noticed this bug in Visual Studio 2013 as well as Visual Studio 2015 (December 27 2015).

Do you want to restart the application with elevated permissions - when open TFS Project in Microsoft Visual Studio 2013

Image
First of all, look at the dialog screenshot given below:

Microsoft MVP: Honored to have received the Microsoft MVP award for the 3rd year

Image
Do you know, 1st July has a very special meaning to me, this day starts with full of expectations which lasts until the moment of receiving email from Microsoft. Once again Microsoft awarded me with the MVP (Most Valuable Professional) award for the 3rd time in a row in the ASP.NET/IIS category.

Internal Server Error with httpHandlers section of web.config

Today I encountered titled error when I was deploying IIS6 hosted application on IIS8. On browsing the application all it displayed me is 404 page and I was not able to run the debugger to check the application code.

Infinite Scroll or Endless Scroll in ASP.NET or MVC

Image
In this quick post I will show you how to develop infinite or endless scrolling on web pages. This feature is required on websites like blog, media, e-commerce etc. If you scrolling in twitter or Facebook feed you will notice new contents loads up automatically when scroller reaches at the end of the page/document.

Single File Upload to Multiple File Upload in MVC

In this blog post you will learn how to take advantage of HTML5 in MVC to turn single file upload into multiple file upload functionality. Today almost every browser extended the support to HTML5 and in case any browser does not, it will still work as it was working before and upload single file at a time.

Attribute Routing in MVC and Web API - exploring the goodness

Image
In this post you will learn about attribute routing and its goodness in MVC and Web API. In the beginning I will show you what it is by comparing it with Convention-based routing. As I progress in the post, I will show you its advantages and its configuration then I will show you how we can use it in the application by using various examples.

What is LESS (style-sheet language)? Exploring LESS coding features inside Visual Studio - Web Essential?

Image
In this post we are going to talk about LESS and its introduction, coding, compilation and features available in Visual Studio Editor with Web Essential extension. Before talking about anything let’s understand what is LESS and how it can help developers.

Creating Image Sprite in Visual Studio - Web Essential

Image
In this article you will learn how to create image sprite using Visual Studio Web Essential Extension. Suppose you have a website that uses lots of images and each image loads individually which increases number of requests and makes website slow. We need quick website optimization to fix it.

Paste Image from clipboard onto Visual Studio Editor : Video - Web Essential

In this article you will learn how to paste clipboard image onto Visual Studio Editor. Like we can paste clipboard image in MS-Word, it is possible to paste in Visual Studio Editor with the help of Web Essential Visual Studio Extension.

Image Optimization in Website - Web Essential

Image
In this article you will learn about Image Optimization using Web Essential Visual Studio extension. You will learn how we can optimize individual image by right clicking on image file, how to optimize group of images in the folder, how to optimize image in CSS file and how to optimize Base64 Encode Image (dataUri) in CSS file.

Base64 Encode Image in Website - Web Essential

Image
In this article you will learn about Base64 Encode Image, why we encode image and how it can improve website performance. We are going to make use of Web Essential which is a must have Visual Studio extension.

Display Images and its name, size before uploading to server by using FileReader - JavaScript File API

Image
If you look at my previous post Single File Upload to Multiple File Upload , it display size of the file after upload.

Single File Upload to Multiple File Upload ASP.NET Web Forms

Image
With ASP.NET File upload control we can only upload one file at a time while HTML5 has a good notion to upload multiple files at a time. Look at the animated image given below, which was the actual framework before HTML5 equivalent updates with ASP.NET 4.5 Framework.

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System