Accessing SignalR Hub from ASP.Net core which is created in ASP.Net
Im trying CORS.SignalR server is created in ASP.Net using this link . And im trying to access the Hub from ASP.Net Core client application using "@aspnet/signalr-client". My question is Is this...
View ArticleScriptTagHelper asp-src-include not rendering the script tag?
Hi, In VS 2017 I created an ASP.NET Core 2.0 web application using Razor Pages (selecting the "Web Application" template going against the .NET 4.6.2 Framework.I'm attempting to use ScriptTagHelpers as...
View ArticleHow to create confirmation pop up message?
I have a simple web page MVC Core and the page has a button, when the button is clicked a confirmation pop up box should appear.The user cannot copy the record if they say CancelIf the user click's...
View ArticleHow do I change the data in the Grid based on the changes of the drop down list?
In MVC 5 #; How do I change the data in the Grid based on the changes of the drop down list?Example:Select One <--- Example drop-down listAll None Read Unread Grid - By default the Grid show...
View ArticleHow to ON UPDATE CASCADE
Is there any example for a Code First approach on ASP Core for allowing one to edit theID of a Parent Table (the Primary Key) and auto updating the relevant Foreign Keys wherever used in other tables?...
View ArticleI'm getting an error when I try to migrate
Hi everybodyI got this problem trying to migrate and I don't know how to fix it, I put my contextDb on the bottom.thanks info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0] User...
View ArticleASP.NET Skills Transferable To ASP.NET Core
Are asp.net skills transferable to asp.net core?
View ArticleHow do I get the following to run in Core 2
I have the following from a Web Form project. How do I translate this to work with Core 2?Configuration config =...
View ArticleI do the following below for inserting in a table, but now with Core2,...
public static void InsertANewItemInAForeignTableWithAssetID(string strConnection, string strSQL, int intID, string strColumnSaveTo, object objValueToSave) { try { using (SqlConnection objConnection =...
View Articlesearching strings in a database
I'm building an inventory list for parts for my companies shop. The user needs to be able to search a part number and then display all of the entries with that part number (basically we have quantity 5...
View ArticleWhat am I doing wrong with the following route in startup?
I am trying to invoke /account/login upon startup. I have something wrong with the syntax. What is it?public void Configure(IApplicationBuilder app, IHostingEnvironment env) { if (env.IsDevelopment())...
View ArticleUser Login and RTegistration
HiAny one can help me by giving a small project with custom user registration and login page. I want to use my own user table with the following dataUserNamePwd
View ArticleUsing a view component as a modal form
I had created a view component that used a modal container so that a user could click the modal button and launch an edit form for a given page. The view component's Default.cshtml lives in a folder...
View ArticleASP.net Core web application gives error: System.Net.Http.WinHttpException: A...
I have an ASP.Net Cor web application that makes calls to a separate ASP.Net API application. It's a simple search, but when I click the button on the page to make the call, the page just goes blank. I...
View ArticleMVC BeginCollectionItem Nested List Indexes not working
I've got a BeginCollectionItem repeater that is working perfectly, however when I try and follow the Joe Stevens blog to add nested lists it doesn't work in the way I expected.I've used the...
View ArticleASP.NET Core 2 content
Hello all!What is the difference between these two examples of code?public IActionResult Get(){ return Content(result, "application/xml");}[Produces("application/xml")] public IActionResult Get() {...
View ArticleGoogle login in MVC Core
Hi everybody,Please let me know why "identity.External" cookie got lost or removed after doing register by Google external authentication. It seems the cookie dies so soon.Info is null after user...
View ArticleC# Custom GridView
Hi,I'm not really proficient in asp.net. I Have an asp based web application and I want to create a custom GridView in order to use it whenever I have a search box and reduce redundancy in my code.I...
View ArticleWhat is the easiest and most robust way of making a website totally secure,...
I am setting up an Api that is exclusively IdentityServer, and do not want any of it available to the public with out being authenticated. What is the easiest way of accomplishing that?
View Article.Net Core ExecuteReader GetSchemaTable() method not returning the...
HI,In .Net Core ExecuteReader.GetSchemaTable() method not returning the BaseTableName and more details of the query will executed.I'm created an console application in Core .Net 2.0. The below code has...
View Article