Questions tagged as '.net'

1
answer

Circular dependence problem - vb.net

Public Class FrmMenu Private _modelUsuario As New Usuario.Usuario Private _controllerUsuario As New ControllerUsuario.ControllerUsuario Private _frmUsuario As New VistaUsuario.FrmUsuario Private _msjAlert As String Private...
asked by 18.05.2016 / 21:49
1
answer

foreach does not appear in Vista

I try to make this work but it does not show any errors or exceptions, it just does not appear in the view ... @if (Model.Recetas != null) { <div class="row"> @foreach (Receta receta in Model.Recetas) { &l...
asked by 12.07.2018 / 17:49
0
answers

Problem with arrays, index exceeded c # [closed]

I have a class that gets data of API , I'll explain all the code because I really do not know where the problem is. public static void Obtener_Enemigos() { RiotSharp.RiotApi Api = RiotApi.GetDevelopmentInstance(_Key)...
asked by 14.08.2018 / 16:58
1
answer

Deny permission to users except the C # compiler

I'm doing an application with a very basic little module of self-protection at the level of user security but I do not know how to take away the permission of the current user who does not write in the folder but if the application does, for exa...
asked by 05.07.2018 / 21:25
1
answer

Can a path whose name contains blank spaces be formatted in CMD?

The problem is that I need to execute a command in CMD, but since the paths of the files I search in Windows contain blank spaces, it requires me to use double quotes ("") to separate the paths. When I call it from C # I try to "escape" the p...
asked by 22.03.2018 / 01:01
1
answer

Error "Name of type or namespace ..." with NuGet c # VS2017

Install a Package "NuGet" of a project X (the DLLs) in My Current Project, I have corrected the errors, ambiguities and necessary definitions, but in the end when executing I get 2 errors, which say: error CS0246: Name of type or namespace 'xxx...
asked by 05.01.2018 / 20:30
1
answer

How to control the time inside a form without taking any action

Good day community, I'm doing a case management form in ASP.NET, which consists of a grid (asp: gridview) of cases that users manage, which redirects to a form, if a user is in the form of one of all cases, no other can access ... that could...
asked by 16.09.2017 / 13:34
0
answers

Security in my connection SQLServer and VB.NET [closed]

My question is to check if my connection is guaranteed to alleged attacks or is vulnerable to aspects that I can not identify. The structure that I manage in my projects is the following:    Connection class. Imports System.Data.SqlClie...
asked by 01.09.2018 / 16:21
1
answer

Problems with a javascript file that does not get addressed by HttpModule

This is an HttpModule installed in the web application that manages the requests made on different files (* .css, * .js, * .aspx, * .ashx). Each time a page of the application is requested for the first time, the client browser (Chrome, Firef...
asked by 11.04.2017 / 14:01
1
answer

What is the difference between using the entity data model and the POCO template?

I would like to know what the difference is and what is better if I use the Entity Data Model template to generate the database model or use the POCO Reverse Generator template, just as it is better to install the entity framework dependencies f...
asked by 21.02.2017 / 22:48