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

How to share Bearer Tokens between ASP.NET 4.x and ASP.NET 5 applications?

There is a good article on how to share cookies between ASP.NET 4.x and ASP.NET 5 applications (http://docs.asp.net/en/latest/security/data-protection/compatibility/cookie-sharing.html), but is there a...

View Article


Bundling is not working after deploying to virtual directory

We are using bundling concept. While running application locally in release mode it is working fine, but after deploying to server on to virtual directory all my CSS and Jquery files are not loading....

View Article


Managing number of visitors in ASPNET5

How do I convert this to ASPNET5 web site. I did not find any easy way yet. The all thing is to handle number of visitors and number members logged-in<div>GLOBAL.asax.cs public class...

View Article

How to handle debug/release config transformations in ASP.NET vNext

In previous versions of ASP.NET many of us used Web.Debug.config/Web.Release.config files trasformations that would look something like this:Web.config:<connectionStrings><add name="AppDB"...

View Article

Image may be NSFW.
Clik here to view.

TypeScript needs compile or ignore error?

Hi Folks,I am using Asp.net 5 (latest version) in vs 2015.i am following through the tutorial as below:https://angular.io/docs/ts/latest/quickstart.htmlHere is my sample Code:Index.html<!DOCTYPE...

View Article


Instrumenting/Application Insights type stuff

What's the ASP.NET 5 story for things like Application Insights, New Relic, Gibraltar Loupe, Glimpse and other things that work using deep dark IIS pipeline and CLR magics? Is there going to be a...

View Article

AspNet.Loader.dll + CoreCLR

I published my asp.net 5 web application targeting dnxcore5 framework. I do see published folder has bin directory which contains AspNet.Loader.dll. As i understand this dll is mainly responsible for...

View Article

Where is Linq to sql classes?

I use asp.net 5 first time, and i i cant find how to add classes linq to sql.Where are?

View Article


Any ASP.NET CMS?

Is there any good and simple CMS for ASP.NET 5?

View Article


ASP.NET Web Forms to MVC

I'm used to make dynamic one or max a few webpages sites with Visual Studio. I use blank website and fill it with HTML, CSS, Javascript on the front and C# on the back, using almost no of the build in...

View Article

[FromQuery] and [FromHeader]

In WEBAPI I used ValueProviderFactory to check the incoming parameters. We allow a parameter to be sent using querystring or Headers.How can I accomplish this in ASP.NET 5/Jovan

View Article

Middleware - change response html

Does anybody have an example of how to write middleware to change the response html before it gets sent back to the client? I'm trying to remove unnecessary white space with my middleware. I followed...

View Article

How to get settings json data to mvc 6 view?

I want to load all settings key value pair from json file at once and use the settings key value in mvc 6 view page.I would be grateful if best solution is provided.I have a scenerio  as below...

View Article


Is ASP.NET 5 RC Deployed to Azure?

If I download and install ASP.NET 5 RC into my VS 2015 IDE, migrate my current ASP.NET 4 services, is Azure ready to be published to?

View Article

Adding references to ASP.NET5 solution: PCL and CL (package)

I'm trying to understand how to implement ASPNET vNext solutions with external dependencies but it's hard to find some up-to-date documentation. AFAIK, I have a couple of options for importing...

View Article


Help with Authentication & Authorization without redirect

We would like to have anonymous users to use parts of our web site. The plan is to have the users to be automatically logged on as ”public users” when arriving at the website. We don't want any...

View Article

security technologies

Is it possible to combine ”UseCookieAuthentication” with external login services like Facebook, Twitter and also authorization policies ( [Authorize(”SalesOnly”] ) ?

View Article


DisplayForModel is not working for List ?

Hi everybody !I work with ASP.NET 5 RC1.I would like to use DisplayForModel to show  the content of the list.I have this code :@model IEnumerable<CoordonneeViewModel><table class="table...

View Article

Anti-Forgery Tokens using MVC, Web API and AngularJS

Hi All,There are a couple of super articles on thwarting CRSF attacks that I've...

View Article

MVC 6 Areas - Scaffolding doesn't work and nor does asp-* code

I created an Area in my MVC6 project and when right clicking on the new controllers folder and selecting Add New Scaffold Item, and controller is created correctly (except I have to manually the...

View Article
Browsing all 9386 articles
Browse latest View live