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

Cannot set RC2 to build x86 target

Hi there,I have an ASP.Cet Core Framework app using RC2.I need to include a 32 bit foreign com assembly - check: made nuget package, added to local repo and added to project from there.Now I need to...

View Article


Accessing environmental variables

Is it possible to access .NET core environment variables from my gulpfile? Ultimately what I want to do is run a gulp task that checks for Development or Production and copies a different json file...

View Article


22 June 2016 ASP.Net Community Episode

Hey, where is the 22 June 2016 ASP.Net Community Episode recording? It is not showing up onlive.asp.net.Jon Galloway mentioned somebody's blog post about T4 templates Roslyn replacement, that I want to...

View Article

how to use log4net using asp.net core 1.0 rc2, log4net 2.0.5 is not supporing...

Hi,   I need logs into a text file instead of console , using asp.net core 1.0 rc2 the log4net is not supporting and the latest version from nuget is log4net 2.0.5 . how to use log4net for my asp.net...

View Article

how to config Supervisor for ASP.NET Core web App

I have a ASP.NET CORE web app deployed on the Ubuntu server, and I use Supervisor to control the process, in the Supervisor config file I set the common as following:[program:myapp]command=dotnet run...

View Article


Get Error value from Web Api to Angular as Typescript

Hi Folks,I am using Asp.net core RC2 Web Api service with angular 2. here is my sample real code:AccountController.cs [HttpPost("register")] public async Task<IActionResult> Register([FromBody]...

View Article

How to populate dropdown list from database? in asp.net core

Hello,Someone has tutorial about: "How to populate dropdown list from database? in asp.net core"  @Html.DropDownList ?All other tutorials from MVC 4 - 5 didn't work

View Article

Issues after migration of Asp.Net Core RC1 to RC2

We have migrated our project from Asp.Net core RC1 to RC2. We are getting 2 compilation errors in the following places after the migrations.First Issue is in the startup.cs, "The call is ambiguous...

View Article


ViewComponent InvokeAsync function doesn't take 3 arguments

Hi,I am in Rich Anderson's View Component Tutorial. However, when I ran the code, I got an/Views/ToDo/Index.cshtml No overload for method 'InvokeAsync' takes 3 arguments 34. @await...

View Article


web.cmd

With ASP.Net rc1, publish output included web.cmd.This allowed me to run on any machine direct from a usb stick.This doesn't seem to be in the publish output for rc2.How do I get something similar?

View Article

RC2 how can I use the login feature on my own database

I have a postgres database that I already implement in my project that uses an email and password functionality. I already have registration working using my own code now the part I need is...

View Article

Debugging aspnet core source code

I would like to debug Security modules of aspnet core rc2. I have cloned a respective repository and added a path to projects into my global.json file. When I build my solution I get multiple errors,...

View Article

ASP.NET and websockets

Since signalr 3 will not be out with the asp.net core rtm release is there any alternative websockets server to use with asp.net core?

View Article


Forbidden page

Hi guys, I've tried to use Cookie Authentication, so:Configure Method:app.UseCookieAuthentication(new CookieAuthenticationOptions() { AuthenticationScheme = "UwpCookieMiddlewareInstance", LoginPath =...

View Article

where can I get all the dependencies for "dotnet restore"

The server I am gonna deploy website can not access to the Internet, So I want to download all the dependencies in advance before I try to use "dotnet restore", where can I get those stuff?

View Article


Thank you for resolving design decision, re camelCase and Hungarian notation

I've been playing around with Core 1.0, and noticed that the default ObjectResult serialization for JSON appears to automatically convert my member names into camelCase. Initially I found that pretty...

View Article

How to call a stored procedure from ASP.net core

I am looking to call a stored procedure from ASP.net core , so I am looking to pass a parameter in this stored procedure and then it gives back a string say  Hello Parameter.I am looking to use ADO.net...

View Article


Image may be NSFW.
Clik here to view.

There is no implicit reference conversion from...

hi  i am getting this errror any one help me please public void ConfigureServices(IServiceCollection services) {// Add framework services. services.AddMvc(); var connection =...

View Article

Can not compile after upgrading to .net Core 1.0

I installed Visual Studio 2015 Update 3 over my Update 2, i then uninstalled from programs and features the .net core rc2.  I then installed the installation package i downloaded from the release site...

View Article

Tag Helpers Not Executing

I just moved some views into a new Core project and was converting my HtmlHelper tags to TagHelpers. They bind correctly but they are not doming any "work". E.g., they label asp-for doesn't pick up the...

View Article
Browsing all 9386 articles
Browse latest View live


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