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

sort with drag and drop

Hi,I use asp net core mvc (2.0)I would like to change the sorting of the rows of a table by drag and drop.In asp.classic, I did this with jquery sortable.Unfortunately, I am on asp net core (2.0)...

View Article


Using Serilog LoggingLevelSwitch

I'm still new to .NET Core and struggling a little bit with logging. I'm using Serilog for to perform my logging operations. I can get things to log and all that, but what I'd like to do is to be able...

View Article


Other messageboards for .net core?

Hi, I've been using this bord alot for asking questions. But sometimes I would like to just discuss things or read about experiences and ideas from people interested in .net core. I feel these message...

View Article

play mime types

http://zulurl-002-site3.atempurl.com/submissionsFile not supported !file exists in wwwroot/images/gallery  @if (item.Source.EndsWith(".mov"))            {                <td>...

View Article

Using ASP.NET Core with .Net Framework

   Our shop is interested in using ASP.NET Core but on the .Net Framework platform to retain windows-specific features.   Do we need to Install .Net Core SDK if we will not use the .Net Core as a...

View Article


Using Boilerplate with ASP.NET Core

How to call CreateControllersForAppServices method second time to generate controllers again?I have some methods, which must be generated after host run and I need to generate controllers for this...

View Article

Core 2.0 VSTS Build Error

I just created a basic ASP.NET Core 2.0 project. Changed the target framework to .Net 4.6.1. Everything builds and runs fine locally but when I created a VSTS build, it fails while doing the NuGet...

View Article

Kestrel behind IIS - Concurrent connection limit?

Hi!I have a question regarding running Kestrel behind IIS and concurrent connections. I set up IIS on my dev machine running Windows 10 Pro and threw some load testing on the application. When running...

View Article


How to implement ASP MVC CORE 2 DefaultControllerFactor

I want to be able to call server side functionality by name instead of route. i have succeeded in doing that by creating a special action that receives a name of the other action to call and then...

View Article


ASP.NET CORE 2.0 StaticFiles Options (.well-known)

Dear Sirs.My code in ASP.NET CORE 1.1 was           app.UseStaticFiles();          app.UseStaticFiles(new StaticFileOptions()            {                 FileProvider = new PhysicalFileProvider(...

View Article

filtering

i wanna filter Categoria in controller Index passing to view index // GET: Submissions        public async Task<IActionResult> Index(int categoria)        {            var designContext =...

View Article

How to dynamically read connection string from appsettings.json

I published an ASP.NET MVC Core 1.1.1 web app on a server that has identically same two SQL Server databases, MyDb1 and MyDb2. The app runs fine and correctly reads/writes data from/to MyDb1. But when...

View Article

URL Parameter(s) Style

Hi All,I am using the default tag helper to pass a single parameter to different controllers & actions as follow:<a asp-controller="pie" asp-action="details"...

View Article


Redirecting after Login

Hi there,I'm trying to redirect a user to the backend if they're in a certain role. I've tried a few different redirect methods but I cant seem to get them right and I can't a decent tutorial for...

View Article

Add Table Later to Database First Project

Hello I have a project with Database First Migration I used the below code from PM to scaffold the DB Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=Blogging;Trusted_Connection=True;"...

View Article


Self contained Web app - not able to change port number

It's hard to find documentation on what command line arguments work where, but I believe I should be able to change the "binding" used by my self contained / self hosted application by passing --urls...

View Article

Display thumbnail photo from active directory

Hi,I am using Asp.net core and Novell Directory LDAP Netstandard lib.string ldapHost = ****; int ldapPort = LdapConnection.DEFAULT_PORT; String loginDN = ****; String password = ****; String searchBase...

View Article


Image may be NSFW.
Clik here to view.

how can I create a project with asp core on the full .net framework

I would like to know where can I see if my asp core app is on the .net core framework or full .net framework. Because when I right click on my project then click on propertie it say that I target...

View Article

sort with drag and drop

Hi,I use asp net core mvc (2.0)I would like to change the sorting of the rows of a table by drag and drop.In asp.classic, I did this with jquery sortable.Unfortunately, I am on asp net core (2.0)...

View Article

BOOTSTRAP FOR ASP.NET WEBPAGES

Hello all,This question may be absurdly simple but I need your help. We just redesigned our website and we would like to use ASP.NET Core for back-end and use Bootstrap as our CSS framework. Although...

View Article
Browsing all 9386 articles
Browse latest View live