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

ASPNET 5 - Web API/Class Library broken after RC1 update

I have a simple project structure for now.1) Class Library Project2) Web API project having project reference to Class LibraryWith Beta 8Class Library Project Json looked as follows:"frameworks":...

View Article


Migrating global.asax to ASP.NET 5

Few days ago .NET Core RC1 got released and I gave it a go for the first time after reading a lot about it, I like it but its a bit different. I am trying to migrate a small blog (built in MVC5) to MVC...

View Article


dnxcore50 has no refences for me to add

Hi,when i create a brand new project aspnet 5 rc1 and i click on references -> add references, under dnxcore50 the list is empty but i have references to 451, does anyone know what i'm missing? i...

View Article

asp.net 5 - 3 layers project

I wanna create a 3 layers project. Web, BLL, DAL (with EF7).with asp.net 5 im having trouble to create one.any good reference / tutorial / explanation ?

View Article

ASP.NET 5 RC1 Web application template generates beta5 dependencies

I have been struggling to get ASP.NET 5 working with Visual Studio 2015 RC1. The first time when I installed RC1, my template to create web applications was gone (Web tools options was checked). I have...

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

Properties of the AuthorizationContext.HttpContext.Connection object passed...

I'm trying to use the following filter in an ASP.NET 5 RC1 web app:[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)] public class...

View Article

如何调用asp.net5中调用webproxy函数

我想在httpClient中调用httpClientHandler,httpClientHandler中有一个Proxy但是无法使用webproxy

View Article


ILoggerFactory & out-of-process event tracing of ETW / EventSource

Hi all,Is there any build in ILoggerFactory implementation, which can generate EventSources for DNX log entries? I want to consume those with the out-of-process TraceEventService of Enterprise Library...

View Article


Image may be NSFW.
Clik here to view.

How can I uninstall asp net rc in Mac (El Capitan)

I installed asp net 5 RC by going to http://get.asp.net Download the .pkg file and install the default options. When I try to run it i have to write sudo in most of the commands especially sudo dnx web...

View Article

how to convert wsdl file to class file and class file to dll?

Hi Team,I have a wsdl file. I want to convert wsdl file to class file and then the class file to dll.Please suggest the step to convert.Thanks,

View Article

SecretManager problem

Hi,I installed "SecretManager" by running (in command prompt):dnvm use 1.0.0-rc1-final dnu commands install Microsoft.Framework.SecretManager --overwriteAfter installing when running user-secret -h I...

View Article

ASP.NET 5 RC - Error CS0121 ambiguous call’s (in own class)

I have started with ASP.NET 5 and just updated to RC (VS2015). By my start, I have placed some central methods and data-definitions in the startup.cs-file (where I don’t have problems with it). Now, I...

View Article


How to dynamically load View Components using Jquery in Asp.Net 5 Mvc 6

We are doing a project on asp.net mvc 6.I have a scenario where I have to load view components on click a button in jquery.I could not find a way to do this in jquery like partial view load...

View Article

ASP.NET 5 rc1 application with Azure organizational account authentication

Hi all,I just installed ASP.NET 5 rc1 and try to get it to work with organizational account authentication on Azure. Whatever I do it works fine locally, but when I publish it to an Azure webapp it...

View Article


ASP.NET 5 on Debian Wheezy

Hi,I'm trying to install ASP.NET 5 on my BeagleBone Black running Debian Wheezy.Installing gives a problem with the package "libunwind8""E: Unable to locate package libunwind8" -> package is...

View Article

Startup.cs in Data layer project?

I have separated my repository into it's own project, a Data access layer. Should that project also have a Startup.cs where the included DBContext is specified? I have 3 layers and my MVC layer knows...

View Article


ASP.NET 5 Machine Key Equivalent

I am planning on deploying an MVC 6 application to Azure and it will be running on 2 or more instances. Once a client app has authenticated with one of the instances using cookies or oAuth, how can I...

View Article

Cannot Find IIS Express

I have a problem when i start a new projectwhen i run it, it shows Initializing the applicationhost.config file failed. Cannot find IIS Express This is my global.json file{"projects": [ "src", "test"...

View Article

DNX451 vs .NET Framework

As per my understanding, if my application target DNX Core, host machine need not to have .net framework installed as DNX itself provides hosting environment (CLR and and all dependencies as part of...

View Article
Browsing all 9386 articles
Browse latest View live


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