model null
I'm working on my first core app and running into an issue.I have a partial, that all it's going to do is show some records from a table in the viewView Code:@model List<Cars.New.AllMakes> @{...
View ArticleProblem in JsonConvert.SerializeObject to serialize list of entities to...
HiI have a main problem which i created in thread (please read it before this thread). Anyway, After a lot of digging & debugging my code, I Think the problem is related to serializing...
View ArticleProblem with batch updating for master-details entities.
HiI have a master-detail view with 2 tables :DefaultVisitProductHeaders -> Master tableDefaultVisitProductDetails -> Detail tableIn my view, i've using ajax request to give end-user to...
View ArticleCan't start .NET Core "Hello World" on IIS
Hello, I have published .NET Core 3.1 Web API "Hello World" application on IIS 8.5 (Windows 2012 R2) with installed ASP.NET Core 3.1 Runtime v3.1.5. The folder C:\inetpub\wwwroot\helloWorld has also...
View Articlehow can i make the datetime column set to empty in view
when the view is loading , the tax date column is always showing with the value '01/01/0001 00:00:00' untill the date selected from datepicker. How can I set the datetime value set to null when the...
View ArticleSome approaches for creating an Image Gallery in ASP Net Core projects?
Hello,I'm building my first project. It holds directors. And each director has a page that shows a list of his/her movies.But I wanted to show an image for each movie. Something like the second photo...
View Articlehow can i bring the error message given in controller into the view span...
Here is my model public class Vehicles { [Key] public int Id { get; set; } public string Make { get; set; } }view file<div class="col-md-6"><div class="form-group row"><label...
View ArticleWhy I get JSON download instead of inline after deploy?
In development-Evironment I became JSON in browser inlineAfter deploy on Server I became a Json as File-Download. On server is JSON-mime as application/json defined.What is wrong and how can I achive...
View ArticleJqgrid Edit Dialog beforeInitData, beforeShowForm & afterShowForm code doen't...
Hi,I have Jqgrid, when the edit dialog form appear for the 1st times, the new code under beforeInitData, beforeshowform, aftershowform for edit Dialog doesn't work. I have to close the edit form &...
View ArticleAzure AD Authentication Back Button Issues
I am trying to resolve an issue with ASP.NET in regards to how it facilitates authentication against Azure AD. Overall I am able to successfully authenticate, however there are seemingly unavoidable...
View ArticleHow to run Razor engine in .NET Core app for custom rendering of CSHTML?
Hi,In my Core 3.1 app I am trying to get an Html from Razor template. For doing this I use the following template:@using RazorAndCore @using Microsoft.AspNetCore.Mvc @using...
View ArticleDate control is not showing value from model
I have this code [DataType(DataType.Date)] [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}",ApplyFormatInEditMode = true)] [Required(ErrorMessage = "Captura este campo")] public DateTime? BirthDate {...
View ArticleHonest opinion on the future of Webforms and Visual Basic
Hi All,Looking at the past on how Microsoft had treated Visual Basic, I am seeing the same thing being applied with Webforms in the senseof having less tutorials and features for Webforms when compared...
View ArticleCustom Logging - Circular Dependency Injection / Infinite Loop problem
I tried to write a customer ILogger / ILoggerProvider that has a dependency on a service that has a dependency on ILogger :) That leaves me with a circular reference and an infinite loop.How could I...
View ArticleDifference in running Asp.net Core app in docker vs iis
I just created a sample api project and ran it inside of a container using docker commands and even created a custom image of the sample app. I am a beginner and am a bit confused right now as how is...
View Articlehow can I assign the datetime value into string variable in model class
I have the following model . How can I store the datetime value which are stored in the column MOTDate , TaxDate into the column MOTDateString, TaxDateString automatically.public class Vehicles {...
View ArticlePrevent users from directly accessing files inside our asp.net MVC core web...
I have 2 excel sheets inside my Asp.net core MVC web application under a folder named "Files" as follow:-Where i am referencing these files inside my TextFieldParser method as follow:-public class...
View ArticleWeb.Api core sudden increase of memory
I have a web.api in .net core 3.1 that continually receives byte array data. I have noticed that after a dozen of calls, the memory suddenly increases with +100Mb.As you can see in the GIF, the memory...
View ArticleSignalR .Core Streaming Size Limitation (~70K Bytes)
Hello everybody,we have developed an ASP.NET Core (3.1) SignalR Server. A client connects to the Server and starts streaming an image to the server. The image is streamed by computing a bytes array and...
View ArticleASP.net core and graphQL
I have build an asp.net core project which get Rest API calls and return data.now I added a GraphQL option as well, and I have some issue not clear :1. when I run the project and go to...
View Article