Hi. everyone!
Actually this question is the continuation of Question, but now I have the same problem on ASP.Net MVC
I have the following task : write the validation attribute, which checks, if String format is right to parse into DateTimeOffset and if it isn't, app should throw an Exception. I...
Hi, everybody!
I try to create attribute, which would validate a string format for parsing into DateTimeOffset.
Here is DateStringAttribute code:
public class DateStringAttribute : ValidationAttribute
{
public override bool IsValid(object value)
{
string date =...
Hello everybody!
I am a novice in ASP.NET and try to write my first application, whose client-size which is written in React.js, using this technology . This is the simple SPA, which should send the data from its form and getting respomse. But every request ends up with the message ("Uncaught...
I'm bad in async programming, so tried to make a simple program, which should consolidate my knowledge. But when I compile code, nothing happen
Here is my code:
static void Main(string[] args)
{
int x,y;
x = y = 0;
string str = "abcd"...
I've faced with the problem, trying to set a timeout for function execution.
I have the following code:
public BitmapImage[,] GetResult(List<BitmapImage> list)
{
var task = Task.Run(() => GetBestPuzzleImage(list));
if (task.Wait(TimeSpan.FromSeconds(10)))...
I have a task to write a programm, which slice the image into the equal rectangle puzzles . Then the program must solve this puzzle without knowing the way it was sliced. I wrote the code, but it works time after time and i can't understand what problem is. Thank you in advance for any help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.