Using Elmah for my ASP.Net MVC application
Hi, I am trying to use Elmah for my ASP.Net MVC application, in which I was somewhat successful, I could able to see errors like if I try to access url without action method like 404 etc. But I have...
View ArticleAsp.Net Core 2.1 with Angular 6 inside, Angular 6 service adding record using...
Well I've made it this now, which is pretty good. I've almost completed the porting over the front end of my portfolio website and I'm working with the database now, in which I chose MongoDB since that...
View ArticleI am getting the following error in my Production Server: Error Message: The...
Hi, I am getting the following error in my Production Server, the application is working fine in Dev environment, so if I have to keep Logging etc and deploy the application, and Web Service, it takes...
View ArticleBrowser Security
Hi, I received a security issue recently.It seems to be "Man in the middle attack". Suppose browser send a request to UI server and receive the response. But before response is received by browser, it...
View ArticleHow to manage a combined role + organization security in MVC?
Hi everyone I am fairly new to MVC and I've only done simple projects without security before. I am now working in a new, more complex project that requires a security model based on role +...
View Article.Net Core Dependency Injection, How to architect it, do I need it? Email Queues.
I've been going to programmer seminars over the last month and learning more about .Net Core, and the concepts of breaking up my programs into smaller pieces and processes. My plan going forward is to...
View Articlehow to hold browsing path in fileupload control(i want to choose my choice...
how to hold browsing path in fileupload control(i want to choose my choice folder) & How to get uploaded file path ,while click on show in folder(Show in Folder)? Select Saving path:...
View ArticleHash/Salt question
Hello I am hoping to use the following code in my VS 2017 project (register.aspx.vb) to hash/salt a password:Public Function GetSalt() As String Dim saltSize = 32 Dim Salt As RNGCryptoServiceProvider =...
View ArticleClear a Page that is being loaded by using .load jQuery
Hi, I have code as below, which loads a partial view in which I have a Grid, but for some reason when one of the load doesn't happen because some failure or missing View etc, the previous partial view...
View ArticleRegarding Request.ApplicationPath in Framework 4.5
Hi All, My application is build in framework 3.5 and now i m converting into 4.5. Here is the code. Response.Redirect(Request.ApplicationPath + path, true); While converting this line to 4.5, i m...
View ArticleAccess HttpContext in ASP.NET Core
I have following code in ASP.NET MVC5 custom helper need to be converted in ASP.NET Core MVC custom helper: UrlHelper url = new UrlHelper(HttpContext.Current.Request.RequestContext); string urlEdit =...
View Article.Net Core 2.1, seeding a MongoDB, foreach on Countries,
It's been pretty rough trying to figure out how to write the MongoDB context and some sort of MongoInitializer that runs from Programs.cs while passing the settings to load the MongoDB parameters. I'm...
View Article.Net Core 2.1, MongoDB, add states collection to country states collection
I thought I could do this in one sweep off the states seed. But I keep getting 0 in the Countries states . As a refresher:publicclass WEBSITE_COUNTRIES { [BsonId]...
View ArticleHow to publish more than one webapps from visual studio in single click
Dear Team, I am using Azure webapps to publish my ERP software . NOw i need to publish new updates to all / more than one webapp from visual studio 2017 in single publish. Because its very difficulties...
View ArticleSub Level Hyperlink not showing in asp.net
Hi Friends I have sub level hyperlink in usercontrol page, with separate css class getting called in this user control, but not sure why the sub level hyperlink is not showing when hovering on main...
View Articlepost list of products instead of single product in post method odata
// POST: odata/Productspublic IHttpActionResult Post([FromBody] product Products) { ... }// POST: odata/Productspublic IHttpActionResult Post([FromBody] List<product> Products) { ... } when I...
View ArticleAsynchronous Task Will Not Complete
Hashing with Argon2 | Issue for reference: https://github.com/kmaragon/Konscious.Security.Cryptography/issues/22 https://stackoverflow.com/questions/52141756/c-task-will-not-complete...
View ArticleHow to Implement AD Login(ADFS) with existing asp.net 2015 website(C#)
Good day, as the subject suggest i would like to ask the community or atleast point em in the right direction .. i am afraid im lost within the google walls of search engine.. in fact i have 3 listed...
View ArticleASP.Net MVC4 Razor
How to Combine simple form and grid CRUD operations in single view and also post the user entered data in single submit button clicked ?
View Article