.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET Core 2.2.0-preview1: Endpoint Routing

Endpoint Routing in 2.2 What is it? We're making a big investment in routing starting in 2.2 to make it interoperate more seamlessly with middleware. For 2.2 this will start with us making a few changes to the routing model, and adding some minor features. In 3.0 the plan is to introduce a model where routing and middleware operate together ...

ASP.NET Core 2.2.0-preview1: SignalR Java Client

This post was authored by Mikael Mengistu. In ASP.NET Core 2.2 we are introducing a Java Client for SignalR. The first preview of this new client is available now. This client supports connecting to an ASP.NET Core SignalR Server from Java code, including Android apps. The API for the Java client is very similar to that of the already ...

Web Publish how to automate multi-project publish with file system

The other day I received an email from a customer with a question which I’ve summarized as below. I have a solution containing multiple web projects. One of the projects, _RootSite, is the top level website which I want to publish. It’s an MVC project. I also have other web projects in the same solution. These other projects are apps ...

Web Publishing a simpler way to exclude files/folders from being published

I’ve written a few blog posts on how to exclude files from publishing/packaging. In each of these posts you’d have to be familiar with MSBuild and the Web Publish process. I’ve been looking for a much simpler way to exclude files/folder from publishing. When using git you can easily exclude files and folders using a .gitignore file. ...

Publish HTML/JS website to Linux/Apache using Visual Studio

We received a question about how to use Visual Studio to deploy HTML/JS website to Linux / Apache.  To do it, you need to create an empty ASP.NET website project in Visual Studio (File->New Web Site…) and then include all the HTML/JS files. 1. Right click on the website Project, select “Publish Web Site”. 2. Drop ...

Walkthrough: deploy a web application with SQL CE 4.0 database to IIS host with SQL Server.

With VS2010 sp1, we added SQL CE 4.0 support. You can view more information about SQL CE 4.0 from the following sites: Here is a walk through of how to deploy a SQL CE database to SQL Server database using web application publish. 1. Create a web application 2. Add a SQL CE 4.0 database via “Add New item”: 3. In server ...

Hosting for ASP.NET 4.0 & Web Deploy from ORCS Web, DiscountASP, and MaximumASP

Visual Web Developer 2010 Express offers a great set of features for deploying web applications seamlessly.  One of the key features is the ability to publish your web application from VS 2010 to a remote hosted web server along with its dependencies like SQL Server database using “Web One Click Publish”.  VS 2010 ...

Web Deployment: Excluding Files and Folders via the Web Application’s Project File

Web Deployment (see this posting for an overview) offers a set of pre-determined options to allow users to include the most common sets of files for deployment.  These options are as follows and can be found under the “Items to deploy” section on the Package / Publish Web property page.   Only files needed to run this ...

One-Click Publish – What’s New Since Beta 2

Publishing using MSDeploy In-Process Deployment or Remote Agent Through the Beta 2 release, VS 2010 had only supported publishing to servers using MSDeploy's IIS deployment handler technology integrated with the “Web Management Service”, a.k.a. WMSVC. As long as you had an account on a hosting server ...

Extending the Web Publishing Pipeline to package database project deployed SQL file

A Visual Studio solution file may contain both database project and a web application project.  When deploying (not building) the database project, it can generate a .sql file containing the full sql file or an incremental upgrade file against a database.  This blogs walkthrough one way to package database project generated sql file ...

Feedback usabilla icon