Using the method recommended by @Gigano in this response ( Is it possible to leave connectionString dynamically? ), I was able to get a dynamic connection, and using the idea of mapping a context with the user data as the name of the bank, host,...
I have a scenario where my context returns a query for two User and CardCreditoUsuario entities, according to the following scenario below. During automapper action in my ViewModel, it is not mapping the entity CardCreditoUsuario for its prope...
I have an application that has 4 layers, which are as follows: Dominio, Infra, Servico, Web in the domain I have a folder named Poco with all my Classes/Tabelas , in Layer Infra , to test CodeFirst eu I created a...
I have an Index screen, where is the table of registered people, on the same screen I have a new button that calls a Modal (boostrap) like this:
<a href="@Url.Action("Add", "Pessoa", new { area = "Gestor" })" class="btn btn-primary" data-to...
The templates that come in VS2013 or any other version when starting a project, it builds a menu with: Home , Contact >, Register and Login .
I ask: How does it save the information for the new default user records? Where is it stored?...
I have a project in ASP.Net MVC and I am putting the authentification manually. Everything is going well, but I used as a reference an already ready project that uses the EntityFramework, but I want to use linq for my operations.
The problem is...
I'm trying to understand how Polly Fallback works, but I'm not getting the implementation right.
As I understand it, it performs another action if the first fails, but that is not what is happening.
using System;
using System.Collections....
There are some entities in the application I'm developing that need to be sorted by a predefined routine.
Thinking about this has created a contract class called ElementoOrdenavel and all entities that can be ordered inherit from thi...
I have a problem that is limiting my work, this is the following, I created a WebService with a connection string for a database in oracle:
OleDbConnection con = new OleDbConnection("Provider=OraOLEDB.Oracle.1;Persist Security Info=Fa...
Good afternoon my dear, I need to make a request for an api that is in a domain outside the local network, I do this through a webrequest that was created this way:
WebRequest myWebRequest = WebRequest.Create("urldestino");
However, the net...