84 items found in the ASP.NET MVC Category

Implementing SQL Server Full-Text Search In An ASP.NET MVC Web Application With Entity Framework

13 May 2016 08:13

SQL ADO.NET ASP.NET MVC Entity Framework

The search facility on this site has been rudimentary at best. I have recently upgraded it to take advantage of the Full-Text Search feature in SQL Server. Although it is still a basic implementation, it is a vast improvement on the search system that existed before, which was based on Entity Framework dynamically generating SQL LIKE clauses. This article describes how I got SQL Server Full-Text Search up and running.

Click to read more about Implementing SQL Server Full-Text Search In An ASP.NET MVC Web Application With Entity Framework ...

Viewed 1788 times

1 Comment for this item

The Best Way To Import Data From Excel To SQL Server via ASP.NET

14 April 2016 13:42

ADO.NET ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages EPPlus

I've seen a lot of questions about the best way to import data from uploaded Excel files to a SQL Server database in an ASP.NET application. Most solutions involve the use of the JET or ACE OLEDB providers to read data from the saved Excel file, and some even show how to use Office Interop to obtain the data. However, all of these solutions rely on additional components being installed on the server, and they also require the uploaded file to be saved somewhere, even temporarily, which creates an additional maintenance task. The solution that follows makes use of a Nuget package that gets deployed with your application and can work with streams, so the uploaded file doesn't need to be saved. It is, in my submission, THE best way to import data from uploaded Excel files to SQL Server in an ASP.NET application.

Click to read more about The Best Way To Import Data From Excel To SQL Server via ASP.NET ...

Viewed 3725 times

2 Comments for this item

Exploring Prefix: A Free ASP.NET Profiling Tool

30 March 2016 19:21

ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages

Prefix is a free profiler for ASP.NET applications. It's dead easy to use and it will help you find bugs in your code that you didn't even know you had. I found two in what I thought were properly working apps within an hour of downloading Prefix.

Click to read more about Exploring Prefix: A Free ASP.NET Profiling Tool ...

Viewed 5285 times

5 Comments for this item

Encryption and Decryption in ASP.NET Core

01 March 2016 13:15

ASP.NET MVC ASP.NET Core

The ASP.NET Core framework provides a new API for protecting data, including mechanisms for encryption and decryption. This article takes a quick look at how they can be used.

Click to read more about Encryption and Decryption in ASP.NET Core ...

Viewed 6824 times

1 Comment for this item

View Components in ASP.NET Core MVC

12 February 2016 08:45

ASP.NET MVC ASP.NET 5 ASP.NET Core

The ASP.NET Core MVC framework (previously known as MVC 6) includes a new feature called View Components. Here, I take a look at them, the kind of problems they are designed to solve and how to use them.

Click to read more about View Components in ASP.NET Core MVC ...

Viewed 8336 times

2 Comments for this item

Configuring SQL Server For Session State In ASP.NET Core 1.0 MVC

11 January 2016 13:14

ASP.NET MVC ASP.NET 5 ASP.NET Core

This article looks at the steps required to enable SQL Server as a backing store for Session State in an ASP.NET Core 1.0 MVC application. It builds on my previous article which introduces how to configure and use session state in ASP.NET 5.

Click to read more about Configuring SQL Server For Session State In ASP.NET Core 1.0 MVC ...

Viewed 6891 times

4 Comments for this item

SEO For ASP.NET Web Sites: Getting content indexed

16 December 2015 07:37

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the last in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click throughs from search results. This article explores how to ensure that search engines are aware of all of the content you want them to crawl and how to inform them when the location of that content is no longer valid.

Click to read more about SEO For ASP.NET Web Sites: Getting content indexed ...

Viewed 2296 times

0 Comments for this item

SEO For ASP.NET Web Sites: URLs

07 December 2015 08:57

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the second in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click throughs from search results. This article will looks at some best practices concerning your site's URLs and how to make them more user friendly for search engines and humans alike.

Click to read more about SEO For ASP.NET Web Sites: URLs ...

Viewed 4487 times

1 Comment for this item

SEO For ASP.NET Web Sites: Content

01 December 2015 07:53

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the first in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click-throughs from search results. This first article will look at how to present your site content to search engines in the most optimal way.

Click to read more about SEO For ASP.NET Web Sites: Content ...

Viewed 3200 times

5 Comments for this item

Uploading files with ASP.NET Core 1.0 MVC

27 October 2015 13:58

ASP.NET MVC ASP.NET 5 ASP.NET Core

Handling file uploads has changed quite a bit in ASP.NET Core. This article looks at the new objects that have been introduced to replace the old System.Web based approach from previous versions of ASP.NET. **Updated to RC2**

Click to read more about Uploading files with ASP.NET Core 1.0 MVC ...

Viewed 20882 times

11 Comments for this item

Uploading multiple files with ASP.NET MVC

19 October 2015 21:09

ASP.NET MVC

I have looked at uploading individual files and downloading multiple files in MVC, and I've had a few requests recently asking me to complete the series by showing how to upload multiple files in an ASP.NET MVC application.

Click to read more about Uploading multiple files with ASP.NET MVC ...

Viewed 21262 times

1 Comment for this item

Downloading multiple files in ASP.NET

09 October 2015 08:53

ASP.NET MVC ASP.NET Web Forms

This short article examines the baffling issue that a lot of people seem to encounter when attempting to send multiple files to the client from an ASP.NET application, and provides the solution.

Click to read more about Downloading multiple files in ASP.NET ...

Viewed 10827 times

3 Comments for this item

ASP.NET Core: Dependency Injection and Services in MVC

24 September 2015 08:05

ASP.NET MVC ASP.NET 5 ASP.NET Core

This is the fourth in a series of articles that explores ASP.NET Core by reconstructing the Visual Studio 2015 Web Application template from an Empty template. This article looks at the role of services and the new ASP.NET Core dependency injection system. The series of articles has been developed using Visual Studio RTM and ASP.NET Core Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET Core: Dependency Injection and Services in MVC ...

Viewed 40122 times

13 Comments for this item

ASP.NET 5: Configuration

04 September 2015 09:32

ASP.NET MVC ASP.NET 5

This is the third in a series of articles that explores ASP.NET 5 by reconstructing the Visual Studio 2015 Web Application template from an Empty template. This article looks at the new configuration system added to ASP.NET 5 and will also cover how services like Entity Framework and MVC itself are added to the project. The series of articles has been developed using Visual Studio RTM and ASP.NET 5 Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET 5: Configuration ...

Viewed 16480 times

4 Comments for this item

ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp

13 August 2015 21:05

Javascript ASP.NET MVC ASP.NET 5

This is the second in a series of articles that explores what's new in ASP.NET 5 by starting with the Visual Studio 2015 Empty site template and progressively adding files to emulate the Web Application template contents and structure. While not actually part of the ASP.NET 5 framework, this article explores the recommended tools for managing client-side dependencies: NPM, Bower and Gulp. These tools are very popular among front-end developers working with other frameworks and now that they have been integrated as first class citizens in Visual Studio 2015, their use is encouraged among .NET developers. The series of articles has been developed using Visual Studio 2015 and ASP.NET 5 Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp ...

Viewed 19093 times

4 Comments for this item

Recent Comments

satyabrata 19/06/2016 18:53
In response to Entity Framework Code First and Stored Procedures
Nice article. Thanks. The menu on this website not working in mobile....

satyabrata 16/05/2016 06:28
In response to Implementing SQL Server Full-Text Search In An ASP.NET MVC Web Application With Entity Framework
This is great. Thanks for sharing....

sharey 06/05/2016 13:15
In response to The Best Way To Import Data From Excel To SQL Server via ASP.NET
nice work gentleman.Really helpfull....

Satyabrata Mohapatra 20/04/2016 04:36
In response to The Best Way To Import Data From Excel To SQL Server via ASP.NET
Another beauty !!!! Thanks for sharing....

Avinash Setty 18/04/2016 18:39
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
This tool is awesome! I am very thankful for introducing this tool for us! By any chance, do you is...

flyingtigerfan 17/04/2016 22:56
In response to Request.Form Is Empty When Posting To ASPX Page
Thanks - spent hours trying to figure this out. I'm out of date and trying to start working on some...

Darren Evans 12/04/2016 16:42
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
'Tis indeed a marvellous thing. Just waiting on its appearance for ASP.NET Core. Hopefully not long...

Arkady 03/04/2016 12:09
In response to Request.Form Is Empty When Posting To ASPX Page
Thank you! I spent a day to understand what problem is before I found your article! But I made of...

satyabrata 03/04/2016 03:50
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
This is great!!!!!...

John Dave Bumatay 01/04/2016 02:01
In response to Windows Authentication With ASP.NET Web Pages
+1 ! This worked for me like a magic!~ thank you very much Mike! ;)...