Skip to content

Magenaut

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

.net

Regular Expression for any number divisible by 60 using C# .Net?

August 24, 2022 by Magenaut

I need to apply validation on input time intervals that are taken in as seconds. Now i am not really good at Regular expressions. So can any body help making a regular expression that can test whether a number is divisible by 60.

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

Place label at center of doughnut chart

August 24, 2022 by Magenaut

I’ve developed a web page with MS Chart (.net framework 2.0, visual studio 2010).
Like this picture, I have to put the percentage label inside the doughnut.

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

Accessing app.config in ASP.NET

August 24, 2022 by Magenaut

I am using app.config file to read data from it..
I am loading the app.config file as:

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

What actually causes Session_Start to be called?

August 24, 2022 by Magenaut

In a little demo application that I’m building I put code to initialize the database in the Global.Session_Start() event. However, I notice that this event does not fire when I’m running through the app in the debugger on the development server (haven’t tested it anywhere else yet).

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

Open any file from asp.net

August 24, 2022 by Magenaut

How can I open any file, specified by a path, in ASP.NET programatically?

Categories ASP.NET, Q&A Tags .net, asp.net, c#, file-io, visual-studio Leave a comment

System.Uri class truncates trailing ‘.’ characters

August 24, 2022 by Magenaut

If I create a Uri class instance from string that has trailing full stops – ‘.’, they are truncated from the resulting Uri object.

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

Cannot close stream until all bytes are written (GoodData API)

August 24, 2022 by Magenaut

I’ve done a bit of searching, and most people seem to hit this when sending larger amounts of data, but I’m not.

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

Does the end user of an asp.net application needs .net installed

August 24, 2022 by Magenaut

When creating a asp.net page, which uses the .NET framework, does the client accessing the page need to have the .NET framework installed on their computer? I.e. User goes to www.fakesite.com/default.aspx, if they do not have the framework installed will they be able to access the website?

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

Why is LINQ to SQL entity association creating a new (duplicate) row when inserting a new record?

August 24, 2022 by Magenaut

I am trying to insert a new entity using LINQ-to-SQL, and entity is associated with a User entity. The insert of the new entity is successful, but my existing User entity gets inserted as if it were a new User. The code looks something like the following:

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

How to get the last start time for an ASP.NET app?

August 24, 2022 by Magenaut

How to get the last time the current ASP.NET app was initiated?

Categories ASP.NET, Q&A Tags .net, asp.net, datetime, iis Leave a comment
Older posts
Newer posts
← Previous Page1 … Page94 Page95 Page96 … Page103 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