Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

Proxy 407 Access Denied

Hi,I have installed VS2015 Enterprise/Community, and the .net core sdk DotNetCore.1.0.0.RC2-SDK.Preview1-x64. Now start to create projects with .Net Core framework. I chose the .NET Core template, and...

View Article


Achingly slow startup times with RC1

I'm finding incredibly slow start up times when booting our ASP.NET 5 / RC1 projects - both from Visual Studio (using Kestrel directly - the "command prompt" window opens for the DNX process and it...

View Article


IFormFile unable to scaffold

Forgive me if this is a very easy problem, but I am completely new at .NET (5 hours in) and I have been struggling with this for a while now.I am trying to create a website where I can upload my music...

View Article

Default Template: web.config and Programm.cs

Hi,with the new ASP.NET Core RC 2 there are two new files in the default template: web.config and Programm.cs.What are those two files for and what belongs to them?Regards, Chantal

View Article

dnx to dotnet

I am trying to do the first migration, but it gives me an errorwith with rc1, I had no problem donin it this wayModel:    public class Product    {        public int productiD { get; set; }...

View Article


Migration from RC1 to RC2 references to .Net Framework 4.5.1 projects

Hello,I have got a solution created on ASP.NET vNext RC1. I upgraded it to ASP.NET Core RC2. There are several .NET Framework 4.5.1 projects in solution. Solution is not working now because of this...

View Article

Json custom de-serializer not called when receiving data using FromQuery...

Hey. i am using the latest asp.net core RC2 in a web api project. i have a type with costume serializer and de-serialize. when i return the type as the body of request the serializer is called and the...

View Article

Optimize _references.js

Hi,I use bower for managing front-end references and gulp to copy only necessary files to /wwwroot.Bower packages reside in /bower_components.The problem is that VS populates _references.js with...

View Article


MVC 6 Localization

Dear All,I'm working in a projects with MVC6 that needs English-Arabic support.I created my project and implemented the IStringLocalizer, everything works perfect for the default culture (en-US) (in...

View Article


Trying to set environment in vs code launch.json on OS X ?

HiI'm building an ASP.Net Core RC2 MVC Application on OS X I don't seem to be able to set my environment for developmentI think I should be able to add within my launch.json file:"env":...

View Article

How I can export to pdf in asp.net core.

How I can export to pdf in asp.net core.If anyone has a link or know how to do is contact me at my email yosvaniumpierre@gmail.com. or here.regardsEn espannolComo puedo exportar para Pdf en asp.net...

View Article

"The requested page cannot be accessed because the related configuration data...

Hi everyone!I'm getting the error in subject after upgrading RC2->RC3 branch. This only appears on IIS Express.Azure only shows blank page, but I assume same is happening there.If I run the project...

View Article

web.cmd

With ASP.Net rc1, publish output included web.cmd.This allowed me to run on any machine direct from a usb stick.This doesn't seem to be in the publish output for rc2.How do I get something similar?

View Article


Relationship between WebHostBuilder, Kestrel and IIS

Hi,in ASP.NET Core a Web App is with RC2 a simple Console Application.  In Programm.cs there is by default the following Code in it: public class Program { public static void Main(string[] args) { var...

View Article

Pipelining for Techempower workloads in the results spreadsheet

I have been analyzing the Techempower benchmark results with dotnet core (https://github.com/aspnet/benchmarks/blob/master/results/Results.xlsx). Wanted to check if pipelining was enabled for the...

View Article


Image may be NSFW.
Clik here to view.

Unable to resolve service for type...

In RC1, i'm using the following link action to display the corresponding source file content.<a href="/Employee?file=Views\Accounts\default.cshtml" class="e-link">Default</a><a...

View Article

You must add a reference to assembly 'mscorlib, Version=4.0.0.0,...

Hi Devs,first of all I want to to say that I really liked the RC1 release, but didn't expect the MS team to radically change everything in RC2? 👎 Why call it RC while you changed practically everything...

View Article


How to use SignalR in RC2

I have download samples from Github but it gives error on restoring packages.If i create new project and install SignalR latest stable version i am unable to add service.AddSignalR and unable to use...

View Article

ASP.Net Core - relationship between Server, Host and ASP.Net Core app

In context of ASP.Net Core, I want to understand relationship between Server, Host and ASP.Net Core app. Whether Host contains server or vice-versa. How Request and Response flows between Host, server...

View Article

Asp.net 5 application will not run on IIS Express

Hi,I have installed ASP.net RC1 and Visual Studio 2015 Update 1 RC1, when I create a new Asp.net 5 Web Application and hit F5 I get the following error after waiting for almost a minute or so. Any...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>