Skip to content

Magenaut

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

generics

Property Injection of Autofac failed when I called the generic property injected in base class from the subclass

September 4, 2022 by Magenaut

I do property injection all in StartUp file in Asp.Net project by using the Autofac function called RegisterAssemblyTypes. Here is the image shows the details :enter image description here

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

In asp.net mvc is it possible to make a generic controller?

September 2, 2022 by Magenaut

I’m attempting to create a generic controller, ie:

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

Why does my WCF service return and ARRAY instead of a List ?

August 30, 2022 by Magenaut

In the web servce I say

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

how to adjust “is a type but is used like a variable”?

August 29, 2022 by Magenaut

I’m trying to generate some code in a web service. But it’s returning 2 errors:

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

Arraylist to List using .Net?

August 29, 2022 by Magenaut

How can I convert/dump an arraylist into a list? I’m using arraylist because I’m using the ASP.NET profiles feature and it looked like a pain to store List in profiles.

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

Convert string to List in one line?

August 27, 2022 by Magenaut

I have a string:

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

How to append expressions in linq?

August 27, 2022 by Magenaut

Net core application. I have a generic repository pattern implemented. I am trying to implement some filtering functionality. I have the below code.

Categories ASP.NET, Q&A Tags asp.net, c#, generics, linq, repository-pattern Leave a comment

Using generic classes with ObjectDataSource

August 26, 2022 by Magenaut

I have a generic Repository<T> class I want to use with an ObjectDataSource. Repository<T> lives in a separate project called DataAccess. According to this post from the MS newsgroups (relevant part copied below):

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

How to sort list type generic if more than one property?

August 26, 2022 by Magenaut

I have a list-generic that has a property (class type). I need a sort method for Z parameters (TrainingSet):

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

Expression<Func> method argument

August 23, 2022 by Magenaut

I’m trying to make a generic method that returns the string version of an expression:

Categories ASP.NET, Q&A Tags asp.net, c#, delegates, expression, generics Leave a comment
Older posts
Page1 Page2 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