Questions tagged as '.net'

1
answer

F # - Why can not I declare a name within the 'try with' block?

The code works if you call a function or assign a value within the try-catch block: module public test open System let testing = let divide = fun a b -> a / b try divide 100 0 with | :? System.DivideByZeroExceptio...
asked by 05.05.2018 / 17:54
1
answer

How to optimize EntityFramework 6 [closed]

Someone can help me how to optimize Entity Framework , by which it takes several seconds to load the EDMX (Conceptual model, Store Model, Mapping Model).     
asked by 06.12.2015 / 19:51
1
answer

Use Task with database connection in C #

I am developing a task that basically executes a series of stored procedures for each branch that exists in our company, for this I use the task that comes in the .net framework 4.0 but when executed 50 times the procedure throws an exception in...
asked by 07.05.2016 / 01:39
1
answer

Visual Studio and .NET Framework versions supported by SQL Server 2000

I would like to know which versions of Visual Studio and .NET Framework I have to use to connect to a SQL Server 2000 data server. I have read that some versions are not compatible. Thank you.     
asked by 14.06.2016 / 19:27
4
answers

C #: How to identify the first digit of each number in a vector to count how many numbers start the same?

Good day. I have this problem, I guess it's simple but I have not been able to solve it and I have one day in that, I have a program that accepts 10 numbers and enters them in a vector, but I need to know how many of these 10 start with th...
asked by 20.03.2018 / 01:00
2
answers

"(400) Bad Request" when trying to connect with Azure Storage

I had a problem when trying to communicate with an Azure Storage storage service, the communication was made from a Windows Azure website to a Storage container. When the communication is made from a local website works perfectly. I tried updati...
asked by 17.12.2015 / 05:14
1
answer

Scaffolding with Asp.net 5

I have been working recently with asp.net 5, in addition to the new features it has and the improvements it makes I can not find the way to do scaffolding as it was done in asp.net 4. Is there a functional and stable add-on for an asp.net 5 p...
asked by 02.12.2015 / 16:57
1
answer

Single Responsibility Principle

According to SOLID, Single Responsibility Principle says, It is of sole responsibility and says that each class must deal with only one task and that applies to its methods. I have a Save method which updates a record and also saves a record, it...
asked by 14.04.2016 / 22:38
1
answer

How to create a WinForm User Control project

I need to create a User Control for a .NET 3.5 application in winforms under Visual Studio 2015 as a separate project, I have seen that it is easy to add one from a project, however as a project I can not find the way. When I'm going to creat...
asked by 21.11.2017 / 09:45
1
answer

Compatibility between .Net Core 2.0 and .Net Framework 4.7

I am creating some general purpose libraries (dll's), to be reused in .Net Core 2.0 and .Net Framework 4.7 projects. I want to have .Net Core projects in linux and .Net Framework 4.7 projects for Windows. A library developed with .Net Core 2.0 c...
asked by 20.08.2017 / 23:12