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

ASP.NET Core Web Applications Demo

Hello everyone,I'm a .net developer. I have been working with Windows Form, Web Form, MVC 5 for may years. Only recently (It's almost one year) I have been studying and developing with MVC Core(or 6)....

View Article


How to deploy on Macintosh an ASP.Net Core web application (MVC) created with...

Hi everybody,I created a simple MVC core application with visual studio 2015. Now I want to deploy it on Mac OS X. I'm going to install Virtual Box and create a mac machine on my PC. I have never used...

View Article


A space in "controller=Product" trigger an error , Should i submit a bug...

Consider the following code in the configure method  of the startup class :app.UseMvc(routes => { routes.MapRoute(name: "default", template: "{controller=Product}/{action=List}/{id?}"); } );this...

View Article

Data Annotations being ignored in .Net Core/EF Core Model (MySQL Backend)

I have created a Web API using .Net Core 1.1 and EF Core. The backend is a MySQL Database, so I have included the *"MySql.Data.EntityFrameworkCore": "7.0.6-IR31"* dependency in the project.json file.I...

View Article

Read/Write Word Document in Asp.Net Core

How to Read/Write Word Document in Asp.Net Core . Can anyone Help me.Thanks

View Article


OLEDB Connections-MS Access

Hello,I'm attempting to upgrade a website from classic ASP to .Core as practice, using an friend's old website.There is a small Access database that is being used and I would like to continue to use so...

View Article

dotnet publish doesn't copy files and folders over to publish directory when...

The dotnet publish command didn't copy over static files and directories specified in project.json publishOptions: include array when the --output flag is specified.  It works as expected when a custom...

View Article

How to use Simple Injector with Asp.net core MVC

Hello All,I am developing an application using Asp.Net core MVC. And want to use Simple Injector as Dependency resolver. so I am done with everything as per guidelines but when run the application it...

View Article


How to modify code in Microsoft.AspNetCore.Server.Kestrel and then refer to...

Hi everyone,I'd like to (try to) add HTTP/2 support to Kestrel - for my own edification, for now. I'm using Ubuntu as my dev platform, because my requirements include using Linux.Of course, it appears...

View Article


Asp.Net Core Full Framework compile error

I created ASP.NET Core .Net Web Application (.Net Framework) and reference Data libraryIn Data library, i added Microsoft.EntityFrameworkCore.Sqlite from Nuget Package ManagerWhen i build, i got error...

View Article

Entity Framework, create CRUD forms in Column order as in existing SQL Table...

Within Visual Studio 2015 Professional a c#, Dotnet Core  web app(.core).. added entity frame work and imported the sql tablesAll Created and when I run the webapp CRUD functions all work as...

View Article

Cannot compile project

I have an existing asp.net core application. Recently, I've added a new class library. It compiles fine. When I add a reference to my original asp.net core web api, I get "error CD0006, Metadata file...

View Article

Specify categories while running dotnet test to run unit and integration...

In NUnit.ConsoleRunner, there was an option to specify the categories. For e.g.cat == TestSuite.Unit cat == TestSuite.Integration In our current application based on .Net 4.5.2 we use these categories...

View Article


dotnet run

I developed a small MVC Core project on W10 and VS2017RC. This works fine running Kestrel with dotnet run.Now I would like to run the same server on Windows Server 2016 without any Visual Studio...

View Article

development and cross platforms deployment

hi, experts, I would like to know development and cross platforms deployment.I have been writing .net program using windows visual studio for many years.I would like to know , whether I can write...

View Article


How to Publish an ASP.NET Core website in linux host

hi plz help meGetting help  me about publish an asp.net core website in linux centos host or others1.publishing in linux  is by which contorol panel?   2.by which Service Providers?3.sql server has to...

View Article

most secure method for encrypting connection string

HiWhat isthe most securemethodfor encryptingconnection string?Is theconnection stringmustbestored on the web.config?

View Article


Unable to load the service index for source https://api.nuget.org/v3/index.json.

I installed dotnet-dev-win-x86.1.0.0-preview2-003156.exe on Windows 7 which I got fromhttps://www.microsoft.com/net/download/core#/current selecting Current/.NET Core 1.1 SDK -...

View Article

EPPlus - no error but not creating Excel file either

HiI am using ASP.Net Core MVC with EPPlus to export to info to Excel.It worked just fine until recently but now suddenly it doesn't create the Excel file but it also returns no error. Stepping through...

View Article

"the type xx exists in both" after migration to csproj (Visual Studio 2017 RC)

Hello everybody, I start migrating my "old" .net core web app from vs.net 105 to vs.net 2017 rc...and the problems begin! In "old" xproj version my class libraries were built again net451, net46 and...

View Article
Browsing all 9386 articles
Browse latest View live


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