Skip to content

Magenaut

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

c#

Connect to AS400 using .NET

August 31, 2022 by Magenaut

I am trying to build a .NET web application using SQL to query AS400 database. This is my first time encountering the AS400.

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

Storing custom objects in Sessions

August 31, 2022 by Magenaut

What the general way of storing custom objects in sessions?

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

Ninject in .NET Core

August 31, 2022 by Magenaut

I am trying to install Ninject 3.3.2 in .NET Core, Released in May 2016. I got an error: The dependency Ninject 3.2.2 does not support framework .NETCoreApp, Version=v1.0.
Does anybody had similar problem, and is there any solution for this?

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

Is it possible to override the required attribute on a property in a model?

August 31, 2022 by Magenaut

I’m curious to find out if it is possible to override the [Required] attribute that has been set on a model. I’m sure there most be a simple solution to this problem, any takers?

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

C# ASP.NET Core Serilog add class name and method to log

August 31, 2022 by Magenaut

I recently added logging to my ASP.Net Core project. Currently the log writes to a .txt file in this format:

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

ASP.Net: Literal vs Label

August 31, 2022 by Magenaut

I just wanted to hear some authorities on when and where you should use a LITERAL control over a LABEL.

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

System.Data.SqlClient.SqlException: Invalid column name ‘phone_types_phone_type_id’

August 31, 2022 by Magenaut

I’m trying to get information from some of my models that have a foreign key relationships to my main employee model. If I map out each model individually, I can access them like normal with no problems, but I have to visit multiple different web pages to do so.

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

Share a Connection string between multiple web projects

August 31, 2022 by Magenaut

OK I have two web projects WebProject1 & WebProject2. Both require database connectivity so this is all in a C#.NET project called Common.

Categories ASP.NET, Q&A Tags asp.net, c#, connection-string, web-applications Leave a comment

Dropdown in MVC

August 31, 2022 by Magenaut

In my MVC application, I need to add a dropdown that would show a list of domain names.

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

How to ‘bind’ Text property of a label in markup

August 31, 2022 by Magenaut

Basically I would like to find a way to ddo something like:

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment
Older posts
Newer posts
← Previous Page1 … Page164 Page165 Page166 … 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