Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

asp.net

Trying to run methods after api starts up

September 4, 2022 by Magenaut

So I’ve written an api on ASP.Net-Core and I want to run some csvReader methods as soon as the server starts. Currently it just starts up and doesn’t run my DataMigrationController.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c# Leave a comment

Dialog box wont appear

September 4, 2022 by Magenaut

When i signout i want it to show an are you sure dialogbox, and if the user click yes it will log out and clear cache- but it never appears, the website just keeps loading. Kan anyone tell me why?

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment

Testing the Output of a Logger – xUnit .NET Core 3.1

September 4, 2022 by Magenaut

I’m trying to work out how to test that a message and log level are correct in my Serilog logging library.

Categories ASP.NET, Q&A Tags asp.net, c#, nunit, serilog Leave a comment

ASP.NET Core MVC webapp error after Azure deployment

September 4, 2022 by Magenaut

I wrote an app in ASP.NET Core MVC with CRUD to deploy to Azure, using code first. I followed this tutorial: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-mvc, azure, c# Leave a comment

How to run an async task daily in a Kestrel process?

September 4, 2022 by Magenaut

How do I run an async task in a Kestrel process with a very long time interval (say daily or perhaps even longer)? The task needs to run in the memory space of the web server process to update some global variables that slowly go out of date.

Categories ASP.NET, Q&A Tags asp.net, async-await, kestrel-http-server Leave a comment

Creating single Array of objects from multiple array objects in c#

September 4, 2022 by Magenaut

I have a web API response like below and I need to move all objects into a single array in C# ASP.NET

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment

How to mask phone number as 123-456-7890?

September 4, 2022 by Magenaut

In my database I have phone number as 123-456-7890 and 1234567890, Is there any way to format display in as 123-456-7890 format in my textbox

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, html, javascript Leave a comment

Updatepanel for real time notification

September 4, 2022 by Magenaut

Is this gonna work for up to 1000 users? Having an update panel for specific HTML controls(MySQL database, select statements checking update in the database), just a small part that kept being refresh for 1 second or 500ms? Will it greatly affect the performance?
I am using web forms in asp.net

Categories ASP.NET, Q&A Tags ajax, asp.net, c#, updatepanel Leave a comment

Connect two data sources in ASP.NET Core app

September 4, 2022 by Magenaut

The application I have developed now needs to connect to another database. My own database is created with migrations, but I also need to create a model that correlates to this other table in another database.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core Leave a comment

Visual Studio 2019 showing yellow exclamation for .NET 5 Preview 8

September 4, 2022 by Magenaut

I recently installed .NET 5 Preview 8 and created a new ASP.NET Core MVC project in Visual Studio 2019 16.8 Preview 2.

Categories ASP.NET, Q&A Tags .net-5, .net-core, asp.net, asp.net-core, visual-studio Leave a comment
Older posts
Newer posts
← Previous Page1 … Page81 Page82 Page83 … Page944 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress