اشتراک‌ها
معرفی Relay و GraphQL

Data fetching for React applications

What is Relay? 

Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).

What is GraphQL? 

GraphQL is a data querying language designed to describe the complex, nested data dependencies of modern applications. It's been in production use in Facebook's native apps for several years. 

معرفی Relay و GraphQL
اشتراک‌ها
ایجاد Pull Requests از طریق VSCode

To create pull requests in VS Code, hover over the GitHub Pull Requests title and click the + sign. Choose the target branch for the pull request, press enter, and relax—you’ve opened your pull request. 

ایجاد Pull Requests از طریق VSCode
اشتراک‌ها
بررسی تغییرات ASP.NET Core در NET 8 RC 2.

.NET 8 Release Candidate 2 (RC2) is now available and includes many great new improvements to ASP.NET Core!

This is the last release candidate that we plan to share before the final .NET 8 release later this year. Most of the planned features and changes for .NET 8 are part of this release candidate and are ready for you to try out. You can find the full list of what’s new in ASP.NET Core in .NET 8 in the docs. 

بررسی تغییرات ASP.NET Core در NET 8 RC 2.
اشتراک‌ها
نحوه اضافه کردن چند پروژه در vs code

Visual Studio Code doesn't support solution files, whereas Visual Studio does. In Visual Studio we use solution files to link multiple projects together, and at first I thought that this was going to be a deal breaker for Visual Studio Code - but it's not at all. Many people aren't aware that Visual Studio Code, although lightweight, is a powerful editor that can do most of the things you need. 

نحوه اضافه کردن چند پروژه در vs code
اشتراک‌ها
Rider 2019.2.3 منتشر شد

The main goal for this release is to add full support for the just-released .NET Core 3.0 for you to take advantage of. If you use top-notch technologies like the latest bits of .NET Core – install Rider 2019.2.3 and enjoy! 

Rider 2019.2.3 منتشر شد
اشتراک‌ها
اولین بتای Bootstrap 4 منتشر شد

Two years in the making, we finally have our first beta release of Bootstrap 4. In that time, we’ve broken all the things at least twenty-seven times over with nearly 5,000 commits, 650+ files changed, 67,000 lines added, and 82,000 lines deleted. We also shipped six major alpha releases, a trio of official Themes, and even a job board for good measure.  

اولین بتای Bootstrap 4 منتشر شد
نظرات مطالب
بررسی روش ارتقاء به NET Core 1.1.
پس از به‌روزرسانی و توزیع در IIS با خطای :
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
   at Sample1.Web.Program.Main(String[] args)
مواجه شدم.

و جهت رفع مشکل :


اما خطا همچنان پابرجاست.

پکیج هایی که باید نصب باشد :


و فایل Project.json:


{
  "dependencies": {
    "Sample1.DataLayer": "1.0.0-*",
    "Sample1.PrsLayer.SysB.UserMg": "1.0.0-*",
    "Sample1.PrsLayer.SysBase": "1.0.0-*",
    "Sample1.PrsLayer.SysS.Setting": "1.0.0-*",
    "Sample1.SrvLayer.SysB.UserMg": "1.0.0-*",
    "Sample1.SrvLayer.SysBase": "1.0.0-*",
    "Sample1.SrvLayer.SysS.Setting": "1.0.0-*",
    "CoreCompat.System.Drawing": "1.0.0-beta006",
    "Sample1.ExternalResources": "1.0.0-*",
    "Sample1.SrvLayer.SysA.BookMg": "1.0.0-*",
    "Sample1.SrvLayer.UploadService": "1.0.0-*",
    "Sample1.PrsLayer.SysA.BookMg": "1.0.0-*",
    "Sample1.IocConfig": "1.0.0-*",
    "Sample1.MapperConfig": "1.0.0-*",
    "Sample1.PrsLayer.SysU.UiMg": "1.0.0-*",
    "Sample1.SrvLayer.SysU.UiMg": "1.0.0-*",
    "Sample1.PrsLayer.SysI.SubscribeNewsletter": "1.0.0-*",
    "Sample1.SrvLayer.SysI.SubscribeNewsletter": "1.0.0-*",
    "Wangkanai.Detection": "1.0.0-*",
    "Wangkanai.Detection.Abstractions": "1.0.0-*",
    "Wangkanai.Detection.Device": "1.0.0-*",
    "Wangkanai.Detection.Engine": "1.0.0-*",
    "Wangkanai.Detection.Platform": "1.0.0-*",
    "Wangkanai.Detection.Browser": "1.0.0-*",
    "StructureMap.Microsoft.DependencyInjection": "1.2.0",
    "CacheManager.Core": "0.9.1",
    "CacheManager.Microsoft.Extensions.Caching.Memory": "0.9.1",
    "CacheManager.Serialization.Json": "0.9.1",
    "Newtonsoft.Json": "9.0.2-beta1",
    "Microsoft.AspNetCore.SpaServices": "1.0.0-beta-000019",
    "AutoMapper": "5.1.1",
    "EFSecondLevelCache.Core": "1.0.1",
    "Microsoft.AspNetCore.Diagnostics.Elm": "0.2.0",
    "Microsoft.AspNetCore.Mvc": "1.1.0",
    "Microsoft.AspNetCore.Mvc.Localization": "1.1.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
    "Microsoft.AspNetCore.Session": "1.1.0",
    "Microsoft.AspNetCore.StaticFiles": "1.1.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
    "Microsoft.Extensions.Configuration.Json": "1.1.0",
    "Microsoft.Extensions.FileProviders.Embedded": "1.1.0",
    "Microsoft.Extensions.Logging.Console": "1.1.0",
    "Microsoft.Extensions.Logging.Debug": "1.1.0",
    "Microsoft.Net.Http.Headers": "1.1.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0",
    "System.Globalization": "4.3.0",
    "System.IO": "4.3.0",
    "System.Linq": "4.3.0",
    "System.Reflection": "4.3.0",
    "System.Runtime": "4.3.0",
    "System.Runtime.Extensions": "4.3.0",
    "System.Runtime.WindowsRuntime": "4.3.0",
    "System.Text.RegularExpressions": "4.3.0",
    "System.Threading.Tasks": "4.3.0",
    "Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
      "version": "1.1.0-preview4-final",
      "type": "build"
    },
    "Elmah.Io.AspNetCore": "1.0.1-pre-24",
    "Elmah.Io.Extensions.Logging": "1.0.17-pre",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.1.0-preview4-final",
      "type": "build"
    }
  },
  "tools": {
    "Microsoft.EntityFrameworkCore.Tools.DotNet": {
      "version": "1.1.0-preview4-final",
      "imports": [
        "portable-net45+win8"
      ]
    },
    "Microsoft.Extensions.SecretManager.Tools": "1.1.0-preview4-final",
    "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
      "version": "1.1.0-preview4-final",
      "imports": [
        "portable-net45+win8"
      ]
    },
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final"
  },
  "frameworks": {
    "netcoreapp1.1": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "type": "platform",
          "version": "1.1.0"
        }
      },
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },
  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true,
    "embed": "Views/**/*.cshtml,Areas/**/Views/**/*.cshtml",
    "define": [ "DEBUG" ]
  },
  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },
  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "Areas/**/Views",
      "appsettings.json",
      "web.config"
    ]
  },
  "configurations": {
    "Release": {
      "buildOptions": {
        "optimize": true,
        "platform": "anycpu"
      }
    }
  },
  "scripts": {
    "precompile": [
      //"dotnet bundle"
    ],
    "prepublish": [
      //"bower install"
    ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  }
}
اشتراک‌ها
DevOps چیست؟

I was originally inspired to write this post after spending some time talking to recruiters for a company looking to hire a DevOps engineers

DevOps چیست؟
اشتراک‌ها
مثال هایی از نحوه نوشتن PBI
News  
  • As a site visitor, I can read current news on the home page.
  • As a site visitor, I can access old news that is no longer on the home page.
  • As a site visitor, I can email news items to the editor. (Note: this could just be an email link to
  • the editor.)
  • As a site a site editor, I can set the following dates on a news item: Start Publishing Date, Old
  • News Date, Stop Publishing Date. These dates refer to the date an item becomes visible on the site (perhaps next Monday), the date it stops appearing on the home page, and the date it is removed from the site (which may be never).
  • As a site member, I can subscribe to an RSS feed of news (and events? Or are they separate?).
  • As a site editor, I can assign priority numbers to news items. Items are displayed on the front page based on priority.  
مثال هایی از نحوه نوشتن PBI