Skip to content

Magenaut

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

c#

404 error after adding Web API to an existing MVC Web Application

September 3, 2022 by Magenaut

There’s a great question here: How to add Web API to an existing ASP.NET MVC 4 Web Application project?

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-web-api, c#, rest Leave a comment

How to write some data to excel file(.xlsx)

September 3, 2022 by Magenaut

This is what i am trying to do.

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

How to bind crystal report to manually created DataSet

September 3, 2022 by Magenaut

I wan’t to create DataSet from code and set it as data source for crystal report.
I don’t want to create a DataSet xsd file in VS if I don’t have to. Just pure code.

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

regex for accepting only persian characters

September 3, 2022 by Magenaut

I’m working on a form where one of its custom validators should only accept Persian characters. I used the following code:

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

How do I enable NuGet Package Restore in Visual Studio?

September 3, 2022 by Magenaut

There’s a similar post on stack but it doesn’t help with my issue possibly because I am using Visual Studio 2015.

Categories ASP.NET, Q&A Tags asp.net, c#, nuget, nuget-package-restore, visual-studio-2015 Leave a comment

parameterized queries vs. SQL injection

September 3, 2022 by Magenaut

I am new to Asp.net and I’m just starting to work with classes. I recently created a class that will handle most of my SQL queries for me so that I don’t have to repeatedly create new connections over all my files.

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

Entering keys manually with Entity Framework

September 3, 2022 by Magenaut

I’m trying to use Entity Framework code first for a simple database project and I run into a problem I simply cannot figure out.

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

How to check a input IP fall in a specific IP range

September 3, 2022 by Magenaut

If we let users input a couple of ip ranges, e.g., 172.16.11.5 – 100, how could I write a function to check if a IP (172.16.11.50) falls in the ranges?

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

How to force HTTPS using a web.config file

September 3, 2022 by Magenaut

I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc.

Categories ASP.NET, Q&A Tags asp.net, c#, https, iis, web-config Leave a comment

ASP.Net URLEncode Ampersand for use in Query String

September 3, 2022 by Magenaut

I need to redirect to a url passing a parameter as a query string.

Categories ASP.NET, Q&A Tags asp.net, c#, query-string Leave a comment
Older posts
Newer posts
← Previous Page1 … Page81 Page82 Page83 … Page451 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