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

Using RoleManager in ASP.NET 5/MVC 6 ?

Hi, I want to create a new Role, "Administrator", in my ASP.NET 5/MVC6 project, but I don't know how to register the RoleManager<T> into the Dependency Injection container.In my controller I've...

View Article


Angular 2 Http Get not returning data from WebAPI Controller

Have I used the right code to call a WebAPI Controller?app.components.tsimport { Inject, Component } from 'angular2/core'; import { DataService } from './data.service'; import { HTTP_BINDINGS } from...

View Article


How to get _sessionID in asp.net 5?

I have a scenario where I need to get the common session across the asp.net 5 mvc 6 application. I am doing an ecommerce application where I need to update cart of an anonymous user to registered user...

View Article

Enabling Session State in Asp.Net 5

Hi There,I have an Asp.Net 5, MVC 6, AngularJS application and I want to enable SQL Server Session State to share my Session with another application. I have googled and not found anything related to...

View Article

Offer to contribute to ASP.NET 5 Documentation

I saw that these chapters are still to be done. I would like to offer to write all or some of them:Migrating HTTP Modules to Middleware http://docs.asp.net/en/latest/migration/http-modules.htmlCreate a...

View Article


Handling Concurrency with the Entity Framework 7 in an ASP.NET5 Application

how to Handling Concurrency with the Entity Framework 7 in an ASP.NET5 Application?Can give me some examples

View Article

waiting for localhost

Hi,My ASPNET5 app used to work but now when I publish it to local IIS (or remote) it never starts. I can run it in VS without problems.I tried with new app and it works so I guess HTTP platform handler...

View Article

renderer.RenderDocument() lock my application

I have a webmethod, it is called for my function ajax with async, so while the pdf is rendering my application lock in this method, but I want continue using my system, How do I?

View Article


Communication with UWP

Hi,Is there any possible way to talk with UWP? I did two classes for comm. but data first few bytes are correct, then its gonna wrong. I have no idea why is that happening.I used WebSockets with...

View Article


Get Controller Name and Action Name for Logging in Middleware (MVC6)

Hi !!One of our requirement is to log action current user is trying to perform i.e. Log which controller/action he is invoking. To solve this cross cutting issue, I decided to implement Middleware...

View Article

MVC 6 + Database Logging

Hi !!We have been using Enterprise Library Logging block all these years for logging. Previously we used to have stored proc name, template etc. in config file which used to log into database. With MVC...

View Article

How to inject the Construtor with string and interface parameters in ASP.NET 5.0

I have a constructor like the below:public JITService(string baseAdress, IHttpClientProvider clientProvider) { }For only one interface as parameter, can inject in Startup.cs like:...

View Article

Is it possible to authenticate using Identity 3 when all I have is 1 DB SP?

I have been trying to interface Identity 3 with a database stored-procedure that can take a username and password and return a few details about the user (id and name). This is for...

View Article


How do I connect to and query Active Directory form .Net 5?

I have been trying to find a tutorial, asp.net post, or stack overflow post that will point me/tell me how to connect to an Active Directory server and query it. I have found a lot of stuff for the...

View Article

Is it possible to convet the WMF image to PNG image in ASP.NET 5 (MVC6)?

Hi All, ASPNET5 doesn't have the System.Drawing package.So i could not convert the WMF image to required image format type. Is there any alternate way to achieve this in ASP.NET 5?. Can you all please...

View Article


Angular 2 http.post not posting

The DataService doesn't appear to be calling the Controller.data.service.tsimport { Injectable, Inject } from 'angular2/core'; import { Http, Response } from 'angular2/http'; import...

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


Image may be NSFW.
Clik here to view.

Can not see index.html MVC 6.

Hello,I wanna connect the AngularJS to a web service written with ASP net 5 with MVC 6.0. I just follow this tutorial to manage this nice...

View Article

Weird Exception 'ArgumentOutOfRangeException'

Hi,I have a working project that contains many controllers and views. It was working fine until I ran it today, some pages didn't work and it throw this exception: ArgumentOutOfRangeException: 'count'...

View Article

Beta8: Error in DNX while opening project

In beta 8 I often get this error:---------------------------Microsoft Visual Studio --------------------------- The following error occurred attempting to run the DNX design time process...

View Article
Browsing all 9386 articles
Browse latest View live


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