C#.NET for non-engineers.
The first course of "A Sr. Developer Course" courses. which contains:
1- C# Fundamentals for non-engineers.
2- DataBase for non-engineers.
3- Asp.NET WebForm for Non-engineers.
4- Application Architecture for no-engineers.
5- ASP.NET MVC for non-engineers.
6- Angular for non-engineers.
This is a course for who knows noting about C# and development if you know nothing about Array, variable, loop, and conditions you are in the right place.
at the end of this course, we will create one small university registration console application together.
You will learn in this course:
C#.NET
.NET Framework
Methods
Recursive methods
C# Primitive Types/Complex Types
conditions
switch case
Arrays
if statement
switch
loops
Creating a method
ref, out
enums
OOP/Object-oriented programing
Generics
Error handling
problem-solving
working with files
level: beginners to upper intermediate
سری آموزش توسعهی وب از تیم کروم
Today Doug Mahugh, Senior Technical Evangelist for Microsoft Open Technologies Inc., announced the release of an Open XML SDK as an open source project through the MS Open Tech hub. Although the SDK has been available since 2007, this release includes full source code available under the Apache 2.0 license on GitHub, as well as the project will continue to grow under the stewardship of the .NET Foundation
پردازشهای Async در Entity framework 6
[HttpPost] [AjaxOnly] public virtual async Task<ActionResult> GetParts([DataSourceRequest] DataSourceRequest request) { return await DoBaseOperationAsync(() => { var result = _partService.GetParts.Where(p => p.IsActive).AsLookupItemModel(p => p.PartId, p => p.CodeName); var data = result.ToDataSourceResult(request); return Json(data); }); }
protected async Task<ActionResult> DoBaseOperationAsync(Func<ActionResult> func, string title = null, string message = null, MessageType messageType = MessageType.Error) { try { AsyncManager.OutstandingOperations.Increment(); var cultureInfo = new CultureInfo(CultureHelper.GetCultureString()); return func != null ? await Task.Factory.StartNew(() => { System.Web.HttpContext.Current = ControllerContext.HttpContext.ApplicationInstance.Context; Thread.CurrentThread.CurrentUICulture = cultureInfo; Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(cultureInfo.Name); return func.Invoke(); }) : null; } catch (Exception ex) { ErrorSignal.FromCurrentContext().Raise(ex); // Some code for error handling } }
آیا میتوان آنرا بهینه کرد که از حالت تقلبی دربیاید ؟
باسپاس./
طراحی و پیاده سازی زیرساختی برای مدیریت خطاهای حاصل از Business Rule Validationها در ServiceLayer
public class Request<T> { public Request(T model) { Model = model. }
public T Model { get; } }
public class Response { public bool IsSuccess { get; set; } public MessageCollection Messages { get; set; } } public class HttpResponse : Response { public HttpStatusCode StatusCode { get; set; } }
public class Response<T> : Response { public T Result { get; set; } }
public class HttpResponse<T> : HttpResponse { public T Result { get; set; } }
152 نکتهی Postgres SQL
152 psql Tips — This was originally 100 tips when we first included it, but this list of bite-sized tips for the tried and tested psql client continues to grow. If you have a psql session coming up any time soon, this is worth a browse. It’s also possible to load a single tip and hop through randomly if you prefer your tips snack-sized.
تفاوت querystring و routeValue
کتابخانه httpdiff
Received response for /v2/getcodeactions but could not find request.