Questions tagged [solution]

A solution (.sln file) is a structure for organizing projects in Visual Studio. It groups one or more projects that work together to create an application.

893 questions
-4
votes
1 answer

solution architecture in c# where winforms and asp.mvc share business logic and Data access

I have a c# winforms solution which includes the below projects:- UI Layer BLL DataModel DAL Now, i want to create a asp.mvc UI within the same above solution, for the same application using MVC pattern. When i searched about mvc solution…
Jim
  • 23
  • 6
-4
votes
1 answer

Find largest multiple for a number set

An array of digits(0-9) of size N is provided as input. A set of numbers(N1,...,Nm) of size m with the numbers separated by space is also as the input. The program has to print the largest number that can be formed using the digits in the array of…
dmj
  • 1
  • 6
-4
votes
2 answers

I need a better algorithm for prime checking

Primes are really strange... I created this simple pattern out of boredom. I haven't seen any of similarity online. As you see, the picture has lines of absence depending on the scale you choose, this is ranging from values 1 to 1000000 I intend on…
-4
votes
3 answers

accessing precise integral variable's value through c++

cplex.getvalue(x) return float value, and when I put the value in int, it's different from the initial one. Is there a better way to accessing the integer variable's value? Now I just use a naive way and I don't know whether it's right or not val =…
snowying
  • 1
  • 1
-6
votes
2 answers

Analog of Visual Studio Solution for my application

I would like to make an analog of Visual Studio Solution for my application. I mean to make a file similar to Microsoft Visual Studio Solution file (.sln), which includes links to all the other solution files. Can anyone link to an article on this…
Mitosha
  • 57
  • 6
-7
votes
1 answer

Reference c# class through multiple solutions

I have 2 separation solutions. One is done using MVC (Solutions 1) and the other is done using Web Forms (Solution 2). I have a class in one of the solutions (MVC one) that I like to use in the Web Forms solution. How would I reference the class…
Nate Pet
  • 44,246
  • 124
  • 269
  • 414
-7
votes
4 answers

MySQL INJECTION Solution

I have been bothered for so long by the MySQL injections and was thinking of a way to eliminate this problem all together. I have came up with something below hope that many people will find this useful. The only Draw back I can think of this is…
Val
  • 17,336
  • 23
  • 95
  • 144
1 2 3
59
60