Custom Http version/protocol name
Hey,for a project I want to use a asp.net core webapi project. However I came across a limit of using a custom HTTP version/protocol name using kestrel.The line of that protocol starts with POST...
View ArticleSelect tag helper in a list
Hi,I have a form with a list of objects (DayList). in each list item I like to use a select tag helper to alter the selected shiftThis is my model:public string ScheduleName { get; set; } public bool...
View ArticleSetting custom Displayname (shortening name) for SupportedUICulture
Hi guys,From the below code, the view displays full name of cultures by default.@inject IViewLocalizer Localizer @inject IOptions<RequestLocalizationOptions> LocOptions @{ var requestCulture =...
View ArticleHow can Pass the value given in datetime column into the function...
In my code<div class="controls col-sm-9"><div class='input-group date' id='ToDatePicker'><input type='text' asp-for="ToDate" class="form-control" onchange="calculateNetHours()"...
View Article500 - Internal server error when deploying a Core web site
Hello,I'm just starting with ASP.NET Core, and tried to deploy one today. I was faced with the above error when I tried to load it.I started VS2017, created a new MVC Core site, and published. I didn't...
View Articlebeginner level AJAX question
I was able to follow simple examples on the web for AJAX and it works as expected. (https://www.w3schools.com/xml/tryit.asp?filename=tryajax_first)The problem is, that example has me using a page that...
View Articlebeginner level question for razor syntax
If I assert that the variable "@i" counts from 0 to n, then how to create a string variable that ends with that number?I have tried lots of permutations of ('idHide'@i) .//where @i is to represent the...
View Articleone more beginner level question
I got the ajax response working as hoped, I returned a List<MyClass> and I can see when I push F12 I am getting actual data back in JSON form.However, I don't know how to turn it back from Json...
View Articlemaking a Dictionary available to another project within the same solution -...
Project TcpServer populates a List<IClient> clientsIn project CommandHandler there is:private List<IClient> clients; public void Setup(List<IClient> clients) { this.clients = clients;...
View ArticleHelp with Xamarin app consuming new Core API
I have an Xamarin app in Beta testing. In the production environment it connects to a WCF service with a poorly-written back-end. I am now writing a Core API for a new back-end (for the app and other...
View ArticleUsing CreatedAtAction with NSwag/OpenAPI generated controller
I want to use CreatedAtAction to return an HTTP 201 to the client with the correctLocation header, but I'm doing it from a class and namespace different than the actual controller. This is because I'm...
View ArticleHow to get a file from server machine (but not in root folder)
Hi all,My server is under C:\inetpub\wwwroot\MyWebsite folder in servermachinehowever I need to show a pdf file from that machine's another folderC:\MyFiles\MyPDFs\MyPDF.pdfIs it possible to reach that...
View ArticleRazor Components as a library included in MVC project
I would like to pack my custom Razor Components as a library and add that to my ASP.NET Core MVC project. How to do that so that the components render correctly in my Views provided through...
View ArticleWhich publish method is preferable
Hi all,I have windows 10 installed work station and I am planning to use a bigger server machine in the future but again with windows 10 in it.What I want to ask is; Which publish method is preferable...
View ArticleConnecting to SOAP(ASMX) service with .NET Core 2.0 --Error importing
When I try to add a reference of a web service to my .Net Core project, I get an error "Error importing wsdl: binding on which depends wsdl: port. XPath to wsdl: binding". but if the web service is WCF...
View ArticleHow do I deploy my asp.net core webapp on my client system
Dear All,I just built a point of sale application for my client. The client part of the application is built with JavaFx and the web service is bulit with asp.net core.I am 97 % done with the project....
View Articlebeginner level question on how to debug javascript in Core and Visual Studio...
I think I am missing something fundamental and basic in my attempts to set a breakpoint in my dot net core app.I use F12 in Google, select sources and set a breakpoint, but it doesn't behave as I...
View Articleasp.net core
Hello,I am new to this forum.I've been a .net developer for 15 years, but exclusively on desktop applications and vb.net.I spent 11 years in the same little company without having taken a training...
View Article.Net Core: replace AzMan
Hi all,I have a bunch of WCF services on the same project, and I have a cross-cut module that loads an AzMan XML file which validates against user permissions, based on Active Directory roles.However...
View Articleaspnet core and websocket limitations
Hi all, I am building an ASP.NET Core Websocket, using simple plain websocket integration. I also have a console app for load testing the websocket server. Creating ClientWebsocket connections work...
View Article