Asp.Net Core and Returning IEnumerable from Web API
I'm trying to return an IEnumerable and getting error on the "return results statement" as "Error CS0266 Cannot implicitly convert type 'System.Collections.IEnumerable' to...
View ArticleStable Version
When will a stable version of .NET Core be released ( a ball park time line ) ?Right now we have to download a Visual Studio Update and update manually, and to use Entity Framework to create tables, we...
View ArticleRuntime Error: No service for type...
I'm hitting this error when I reach the .Build() in the following code:public static class Program { public static void Main(string[] args) { //var config = WebHostConfiguration.GetDefault(args); var...
View ArticleThe selected debug option is IIS Express but this project is not a web project
After updating my project to 1.0.0-rc1-update2, i am unable to run my web app by hitting F5. I am getting below error The selected debug option is IIS Express but this project is not a web project. To...
View ArticleHow to get the database value after being assigned from another method
I am doing a foreach loop to get the values from the dabase of a model or table,then in another method I want to get again the values from the database, but what happens that the values i get are from...
View ArticleInstaller/Setup for new Core web apps
Hi, can anyone recommend the best way to create an installer/setup for a new ASP.NET Core web application that can be deployed either to IIS or as self-hosted?Cheers Rok
View ArticleReferencing regular .NET Class Library in ASP.NET 5 project
I have a web site built by using ASP.NET 5 MVC template (I am using RC1 Update 1) , I need that web site to reference a DLL which was built by using regular .NET Class Library targeting .NET Framework...
View ArticleRender partial view in tag helper
I would like to render a partial view in a tag helper. Isn't that an obvious requirement? However it seems that this is not supported out the box (WTF!)Anybody got any hints on how to do that?Best regards
View ArticleCustomizing Identity Framework default template to support token based...
Hi there,I would like to know if the authentication/registration templates provided out of the box by MVC6 can be adapted to use token based authentication instead of cookies. I'm writting a SPA...
View Articlewhen will asp.net core support MySql
When will asp.net core support MySql, i need to run my Web on linux Server, I am always looking forward to that
View ArticleHow I can Not export pdf in asp.net core.
How I can export to pdf in asp.net core.If anyone has a link or know how to do is contact me at my email yosvaniumpierre@gmail.com. or here.regardsEn espannolComo puedo exportar para Pdf en asp.net...
View ArticleIs it possible to mix a .NET Core and .NET 4.6 MVC 5 project?
Hi people! Title says it all. I have an ASP.NET MVC 5 project, and wish to upgrade it to .NET Core. Unfortunately many things are missing, I wanted to know if it was possible to start running them side...
View ArticleAccessing User from _Layout.cshtml in Vs 2015 Sp3 Asp.Net Core
Hello Everyone,It used to be like this in the previous Version to access the Logged in User from _Layout.cshtml, but now with VS 2015 SP3 Asp.Net it does not seem to work:@using...
View ArticleHow to get the database value
I am using Dependency Injection for a Shopping Cart, In the layout page, I want to get a Brand new Price from the database in the ShoppingCart and it does not, it gets the Price from the allready...
View ArticlePrompt analogue fluentmigrator for .net core
Please prompt analogue fluentmigrator for .net core or something similar
View ArticleAdd .Net 4.5.1 assembly reference
Hi With the 1.0 release out, I started upgrading our Asp.Net.Core Web Api solution, currently based on RC1. The existing site references the standard .Net Core assemblies - but along those I need to...
View ArticleCan one capture a screenshot of an HTML document?
I'm developing an ASP.NET Core 1.0 app. Envision on the left side is an HTML code editor. On the right side is an iFrame which shows a preview of the HTML code in the editor.Is it possible, using...
View ArticleMySQL + ef core migrations
Hi,I have found on this forum a few unofficial connectors to mysql database. I try use: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql . I have problems with migrations(code...
View ArticleVulpix: Fast, unopinionated, minimalist web framework for .NET core inspired...
Hello guys, I'm a node.js develloper with an experience in .net. I have a github project (https://github.com/nicolasgere/Vulpix) for a express like framework.I have so many question: How to do a nugget...
View Article