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

dnx How to add subdomain to project?

Hello guys, is there any way how to manage domain names/subdomains on my localhost machine (OS X), I want to add a subdomain to my project, and I don't see any relevant documentation upon this topic so...

View Article


Self-signed SSL with self host asp.net 5 application

I am having difficulty getting a self-signed ssl to work with my asp.net 5 mvc 6 application running as a self hosted app.  I created a self-signed cert using IIS, and used the following commands to...

View Article


run a asp.net5 swagger web app. got error localhost refused to connect....

When I just create a asp.net5 web api project and use the default template. when I run to IIS express.  I can see default value of .json file.But when I add simple swagger specifications to it. and run...

View Article

Can we export xunit test result in json format

I am working on a Asp.Net5 (MVC6) web application and using xunit to right unit test cases. I can also export the result of all test cases in XML format from command prompt.Added the below line under...

View Article

Using jQuery Validation in ASP.NET 5 View

Hi, currently I'm having problem integrating ASP.NET 5 view validation with jQuery Validation as follow:// Init Material Forms Validation, for more examples you can check out...

View Article


How to generate validation attributes for custom tag helper

I am creating a tag helper for a composite, custom dropdown list:[HtmlTargetElement("mwrdropdown")] public class MwrDropDownTagHelper : TagHelper { public string AspFor { get; set; } public...

View Article

DNX error VS 2015 community update 2 on Windows 10

Clean installation on a new workstation. Downloaded Visual studio 2015 community addition update 2. I’m getting that all too infamous error: An error occurred attempting to determine the process id of...

View Article

Show .doc/.pdf file in web browser without downloading facility

Hi, There is a need to show files(word/pdf) which is stored on server to browser with paging(in case if file have multiple pages) and with best possible security features like user can not save file or...

View Article


System.Linq.Dynamic.Library for .Net Core

Hi,I was using System.Linq.Dynamic library with dnx 4.5.1 but when I started using dnx core 5, it is not recognising System.Linq.Dynamic.Library.Is there any solution for that or .Net Core 5 doesn't...

View Article


Can we create asp.net web site link to multidimentional database

Hi,I want to create a ASP.net site. the site will help us manage user activities and sales. we will do a lot of reporting and dashboard based on that database. we want to use multidimentional database...

View Article

Empty Urls with custom router

Hello everybody,I'm going to extend the default template for the asp.net website in open source project on githubhttps://github.com/RichardMartens/Martens.Web.StarterKit. I want to extend a user...

View Article

user-secret set Authentication:Facebook:AppId problem

Hi,In following this instruction Enabling authentication using external providers using 1.0.0-beta8 I get this error:user-secret : System.NullReferenceException: Object reference not set to an instance...

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


Why does EF7 say I haven't configured any providers, when ASP.net Identity is...

Also asked on Stack Overflow: http://stackoverflow.com/questions/35672464/why-does-ef7-say-i-havent-configured-any-providers-when-asp-net-identity-is-woJust starting a new MVC6 experimental app....

View Article

Help me to understand dnx command in docker container entrypoint

I am using asp.net core plus docker container. Based on the https://docs.docker.com/engine/reference/builder/#entrypointOne of the ENTRYPOINT form is ENTRYPOINT ["executable", "param1", "param2"]So...

View Article


Hosting asp.net 5 web app

I have a problem with hosting my web app. I am using DigitalOcean ubuntu 14.04 as my server and I am following this http://blog.jsinh.in/hosting-asp-net-5-web-application-on-linux/#.VxNtBPmLSUl...

View Article

Can't see namespace of External library (portable)

Hello,I trying ASP5 in VS2015 and run into a problem.I have created an external library (portable) Called "TestLib" that is targeting .net Framework 4.6 and ASP.net core 1.0On one MVC5 application...

View Article


Startup configuration {get set} issue

I have the startup.cs asusing System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Diagnostics; using...

View Article

Fixing an ambiguous refrerence

Hi, OverviewTo learn ASP.NET Core I decided to come up with a sample learning project for managing 'Tasks'.  The name of my project is 'AspNetCore1Lab' mentioned in the error below.  I created my db...

View Article

Publish a Asp.Net 5 Application on Windows Server 2012 on IIS

Hello everyone,I am able to run my aps.net 5 Site on IIs on Windows Server 2012, with the following project.json Settings:"commands" : {   "web":"Microsoft.AspNet.Server.Kestrel",...

View Article
Browsing all 9386 articles
Browse latest View live


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