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

Cookie-based authentication

I am building a MVC 6 rc 1 application without external login provider, I have been reading some on-line articles about asp.net identity, just still confused about this Cookie-based authentication, in...

View Article


Issue with ChangeTracker of EF6 in MVC6

I am trying to overirde SaveChanges() method of DBContext in my MVC6 application with EF6. My requirement is to track the modified property of all entities and log in database.The problem is that...

View Article


Angular 2 http.put() not calling Controller

I put a breakpoint on the Controller and http.put() in updateItem() isn't calling the Controller.data.service.tsimport { Injectable, Inject } from 'angular2/core'; import { Http, Response, Headers }...

View Article

How to generate EDMX file for EF6 in ASP.Net5 (Database first approach)

I am trying to use EF6 is my ASP.Net5 application, I installed the package from Nuget but I am not getting any template to generate the EDMX file. I found couple of article that talks about code first...

View Article

Print functionality in .NET 5.

how do we implement print functionality in .NET 5 and what are the dlls for Print functionality.

View Article


Identiy Server 4

I have identity server 4 running. Client application is registered and want to communicate with server,it works fine.If we have  "UI/{0}/Views/{1}.cshtml" format. but if we use default structure it...

View Article

app_data: can we still use it

Hello guys.Should we still use the app_data folder for putting mdf dbs that are going to be attached? If so, can we still use the |DataDirectory| placeholder on connection strings or should we build...

View Article

Classic ASP support in ASP.Net 5/ MVC 6

Hi, I have a large size legacy project in classic asp (the old vb script), that we would like to migrate to .NET, preferably using newer ASP.NET 5 / MVC 6.Is anyone aware of any OWIN middleware that I...

View Article


Can we use SqlCacheDependency in ASP.Net5

We can achieve Controller/Action level caching with the help of "ResponseCache" attribute, but is there a way to implement "SqlCacheDependency" in Asp.Net5. Please help with some code sample if someone...

View Article


Is app a reserved word?

Hi, I am publishing asp.net application to docker. By http://www.hanselman.com/blog/PublishingAnASPNET5AppToDockerOnLinuxWithVisualStudio.aspxVERBOSE: Step 1 : ADD . /appI don't understand what does it...

View Article

Uncaught TypeError: angular2_1.Component is not a function: error on running...

I am a newbie to AngularJS + Asp.net5 + Gulp. tried downloading a sample from the internet and executed it. But I am facing 2 issues while exectuing the application.Issue# 1: As I understand, Gulp will...

View Article

A New Code Structure

I don't want to argue here again that the default folder structure of MVC sucks. As I know for sure it sucks, don't ask me why.I tried to use the following structure, it works well. What do you guys...

View Article

Sample projects for Asp.net5 + AngularJs2 to download

Can any one share me the sample projects with Asp.Net5 + AngularJS2. I wanted to learn this, and I am looking for the sample application with basic login, routing features and basic stuffs. Please...

View Article


"userSecretsId" change doesn't work

Hi!I've created a new ASP.NET 5 Web App and changed to the "userSecretId" to my previous project's "userSecretId". The file containes the external authentication secrets for Facebook, Google, Twitter...

View Article

Url aliases for Microsoft Azure

Azure has the facility to add a custom domain name to your Azure web app. However it simply reroutes or readdresses the IP address of the custom domain name to the Azure hosted web app and the Url...

View Article


Can we use SqlCacheDependency in ASP.Net5

We can achieve Controller/Action level caching with the help of "ResponseCache" attribute, but is there a way to implement "SqlCacheDependency" in Asp.Net5. Please help with some code sample if someone...

View Article

swagger with asp.net webapi

hi, I have swagger specification .yaml files and then use http://editor.swagger.io/#/  to generate server "ASPNET5" to generate asp.net code.when i try to import the code to my project. I got tons of...

View Article


Can an ASP.NET 4.5 host run my ASP.NET 5 web app?

I have created a web app using Visual Studio Code and have it running locally on my Mac using dnx version 1.0.0-rc1-update1 (coreclr).  It is now ready to publish. My ISP (1and1) tells me that they do...

View Article

Accessing RouteData from Middleware

Anyone have any idea how to access the current route from middleware? There is no simple RouteTable like in ASP.NET5 to access.The RouteData is what I need access to. In previous betas I was able to...

View Article

How deploy ASP.NET 5 project as virtual directory of an existing IIS web site

It seem ASP.NET 5 projects only can be depoyed as root “/” based on the document here, because we should create each web site for each project. How deploy ASP.NET 5 project like "/WebApp1" of an...

View Article
Browsing all 9386 articles
Browse latest View live


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