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

Unable to restore nuget packages

I have a CentOS 7 server running the latest version of DNX. Upon uploading a small ASP.NET project (which runs fine on my local Windows machine), I attempted to run dotnet restore from a user with sudo...

View Article


How to Pack / Reference "old" assemblies in 1.0 Tooling

I've heard that the tooling with ASP Core will change one more time (deprecating the project.json and so on)Are there any informations about the planned way to reference "old" 4.* assemblies in core...

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

Unable to uninstall RC2

I am enlisted in a project where I don't own the project files. I have updated from RC1 to RC2 but in the course of this found I could not load the XProj. So I wanted to uninstall RC2 and reinstall...

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


AutoComplete => ComboBox / DropDownList - Any tutorial for latest ASP.NET...

Hello,Anyone have tutorial how to create "AutoComplete => ComboBox / DropDownList"  what will worked in latest version asp.net core ?

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

Interface without Default Constructor Error

I'm passing an interface to a controller actionpublic IActionResult PrepareTransfer(IInstrument instrument) {In my DI container I haveservices.AddTransient<IInstrument, Instrument>();Right now...

View Article


Exception occur on Registring a new User in .NetCoreApp v1.0.0

I want to Register a user in .Net Core Web application But all time This Exception occur. I search hundreds but nothing found useful.<div class="titleerror">OverflowException: Arithmetic...

View Article


HttpContext.Session.GetString("string") I get a NullReferenceException

NullReferenceExceptionwhen it gets to this line: var stringId = context.Session.GetString("cart"); public class Uno { private readonly HttpContext context; public Uno() { } public Uno(HttpContext...

View Article

Reference to .NET Core Class Library project not working

Windows 10, Visual Studio 2015 Update 3I have a .NET Core Class Library project, ClassLibrary1, set up to target both netstandard1.6 and net461. I have a second .NET 4.6.1 Console Application,...

View Article

Don't pass value from behind code to javascript after update page

hi,I have a google map in my page an get the Lat and Lng from database and pass them to javascrip to show map!may map and dropdownlist are in update panelwhen page load , everything is OK but when user...

View Article

VS.NET 2015 ENT Web Deploy ASP.NET Core 1 error ERROR_USER_UNAUTHORIZED?

Hello,I have set a web deploy on a local Windows 2012 server with a new Site.I have set permissions to Administrator at IIS server level and at the Site level thru IIS Manager Permissions.I have...

View Article


Web Server for ASP.NET CORE on Linux

Hi Guys, I am exploring running asp.net applications on linux. What options do I have for a web server? The tutorial I tried uses Kestrel. I would like to know if that is the only option I have or are...

View Article

Publish to Linux? (CentOS7)

Hi all,I've followed the official documentation multiple times, and I still can't figure out how to actually run my ASP.NET Core project successfully. I'm a Linux dummy, so anything that might seem...

View Article


MVC, Core 1.0.0, Libraries, and SOAP

I'm trying to move to Core, but I'm running into a lot of problems that seem common. Since things (like names) have changed some much some of the answers I find no longer work. I'm looking for an...

View Article

Referencing Classes in Core Project from WCF Service Project

I have a WCF service that acts on domain classes in my Core site. Since Core doesn't produce a dll I can't include a reference to them in my service project. I've resorted to declaring them in both...

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

Looking for hosting

Hi, I does anyone here knows a good hosting site? Azure is too pricey, my budget is about $5 per month. I know there a lots of webhosting out there, but im looking some reputable hosting and have...

View Article

Bind my asp.net core app to all URLs

Hi, how can I setup asp.net core web application to bind to all incoming requests? Probably will be running it on kestrel behind IIS for now but later I might chage that. What I need is all requests...

View Article
Browsing all 9386 articles
Browse latest View live


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