.net core

  1. etkmlm

    Resolved Entity Framwork Not Working

    i have a problem with Entity. Want to use Entity in DbContext class but it is not working even though I added it to the packages. So when i write the "System.Data.Entity", it turns red. (Error: CS0234) Maybe Visual Studio doesn't see the Entity package. Visual Studio 2019 .NET Core 2.0...
  2. R

    Condition between ArrayChar and int number how to do?

    Hi; I am not getting the condition to interpret char array with integer : string AjusteICMSDocumentoId = "102345"; char[] array = entidade.AjusteICMSDocumentoId.ToCharArray(); if (array[1] == 0) { if (viewModel.TipoImposto !=...
  3. M

    Resolved How to Implement DbSet and DbContext in Service-Repository Architecture?

    I am updating my .NET Core web app from just MVC to a Service-Repository pattern. My question is, how do you implement DbSet<> when you add the Service and Repository layers? I originally added these to my ApplicationDbContext file under the Data folder. Is this still correct? Then would I just...
  4. M

    Question Proper Folder Structure

    This might be too broad of a topic, but how are you supposed to set up a file structure when using .NET Core MVC. When creating a new project, you are given the following: >>Dependencies >>Properties >>wwwroot >>Areas >>Controllers >>Data >>Models >>Services >>Views >>appsettings.json...
  5. M

    MVC to MRC (Model Razor Controller)?

    I've been trying to learn .NET Core after first learning the Framework structure. I am still learning regular views, which utilize Razor code, but I'm coming across a lot of Razor page info. Is it now, or will it ever be a structure of Models, Razor Pages, and Controllers? -A curious learner.
  6. K

    parallel calls - How to Identify which call failed?

    I am new to Parallel call in .Net core, please help me. I am making Parallel call, so I would like to know here if any calls fails in If one of out of many calls fails or all calls failed then we should write to logs specific which Permanent ID got failed. Please help me how to Identify which...
Top Bottom