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

Problem running Asp.Net Core Application under 1.0.1

Since I upgraded to Asp.Net Core 1.0.1, I am having problems running my web application in VS2015 (and at the command prompt).  When I 'dotnet run', I get the following:D:\Scheduler+Plus Web...

View Article


Referencing a 3rd Party assembly

HiI am trying to reference a 3rd party assembly in a .net core application on windows using visual studio 2015 (all components are installed). I cannot create a dotnet core application of any kind and...

View Article


use Forms authentication with Active Directory in ASP.NET 4

hello , can i help me please with link of (use Forms authentication with Active Directory in ASP.NET 4 ) because i cant found any link with asp.net 4 , i found just with asp.net 2 

View Article

Ignoring a request

I am trying to ignore request to certain routes. I tried writing a piece of custom middleware to handle this but I think its too late in the pipe line. It returns a blank page. I am creating an MVC app...

View Article

How to Implement a Strongly Typed Model in ASP.NET Core?

In the past, with ASP.NET MVC, I successfully implemented strongly typed models with relative ease in my Views.  But something appears to have changed with ASP.NET Core.  I've tried following several...

View Article


Deploying application (web.config problems?)

First of all sorry for my english.However, i'm here because i'm having some problems with an application that i've deveolped.This application working nice when started with Visual Studio for example...

View Article

Website bugged only on WAN

Hello, I m new with ASP.NET CORE and i have a really weird problem I started to build a website a few weeks ago using ASP.NET CORE and starting with the blankapp Template. I m hosting this website on...

View Article

Scripts not working on Azure

Hello guys, Im quite new on asp.net Core. On my website i have a banner wich is a single image. I use a map to set the clicakble areas and the links they must navigate to. But my banner is a responsive...

View Article


.Net Core Implementing Redis cashing with master and slave connections

I need to use redis connection with Master and Slave configuration in dot net core.Below code is configured to get the primary server(Master) which is configured to port 6379, and I have a slave...

View Article


ASP.NET CORE MVC Array in ViewModel and Post to the Controler

Dear Sir.I have ViewModelpublic class UserRole { public String RoleName; public bool IsInRole; } public class UserEditViewModel { [Required, MaxLength(256)] public String UserName { get; set; } ......

View Article

Web API Multiple Versions

Hello EveryoneHow are  multiple versions of a web api deployed on IIS?Thanks

View Article

Issue when add TagHelper

Hi  i have created a .net core project . I want to add tag helpers for this project.after  add a code line@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers;to the _ViewImports.cshtml   ,  pages are not...

View Article

ASP.NET Core on IIS: 502 - Web server received an invalid response while...

Hi guys,I try to performence test my asp.net core 1.0.1 website. I use loader.io to get 4000 client's to run this site but i get this error on asp.net core. If i run the same code in asp.net 4.6 it...

View Article


Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContext'...

Hi,We are developing an application in Asp.net mvc Core and EF Core.We made multiple layers. Now Issue is that we need the dbcontext in MVC project so we added. but when we are creating a repository...

View Article

Learning resources for newbie ?

I am newbie in ASP.NET core. i have zero knowledge in ASP.NET too. i have been turning in circles for a couple of weeks now looking for a good resource to learn ASP.NET core. it seems that most...

View Article


Web services in a SOA architecture ?

I'm trying to find out how to create a webservice with asp.net.core or net.core ? and I do not find any information about this ? - Service stack is a paid service ?  - Azure Service Fabric is limited...

View Article

Microsoft.AspNetCore.Mvc Controller with same method name but different...

How can I have my controller actions get triggered by parameter names.public IActionResult Test(int a1) ... http://test.com?a1=3public IActionResult Test(string s1, string s2)...

View Article


Use Strongly-Typed Configuration in Startup Class

Hi,Is there a way to use strongly typed configuration in startup class? We usually use it in controller or view like below:public class HomeController : Controller { private readonly AppSettings...

View Article

Save Foreign Key Value - EF Core + ASP.NET Core

Hi guys, I´m new to ASP.NET Core and I have the following problem:I have two related objects, Goals and Months, Goals got the foreign key of Months, and when I try to save the data of goals I got a...

View Article

Custome Email Confirmation Token

Hii All,Can we use default asp GenerateEmailConfirmationTokenAsync to create our own token email confirmation ?Thx.

View Article
Browsing all 9386 articles
Browse latest View live


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