بر اساس مستندات آن، نیازی نیست:
A table can have multiple FILESTREAM columns, but the data from all FILESTREAM columns in a table must be stored in the same FILESTREAM filegroup. If the FILESTREAM_ON clause is not specified, whichever FILESTREAM filegroup is set to be the default will be used. This may not be the desired configuration and could lead to performance problems.
اشتراکها
فریم ورک bootmetro
اشتراکها
Entity Framework Core 8 منتشر شد
اشتراکها
مروری بر SQL سورس کنترل
اشتراکها
مهاجرت به AngularJS 2.0
"Our goal with Angular 2 is to make the best possible set of tools for
building web apps not constrained by maintaining backwards compatibility
with existing APIs." —Angular blog
با سلام؛ در کلاس JwtAuthorizeAttribute در قسمت var userId = claimsIdentity.FindFirst(ClaimTypes.UserData).Value; با خطای Object reference not set to an instance of an object. مواجه میشم و اینکه هنگام تریس کد متوجه شدم که مقادیر UsersService() و TokenStoreService() نال(null) هستن، امکانش هست راهنماییم کنید که علت این خطا چیه؟
از StructureMap3 توی پروژه استفاده میکنم ،میخوام توی Run به دیتابیس متصل بشم اما وقتی از کد زیر استفاده میکنم با خطای Object reference not set to an instance of an object مواجهه میشم
اینکار امکانپذیر است؟ نیاز به تنظیمات خاصی برای StructureMap هست؟ (درضمن از تنظیمات پیش فرض StructureMap که بهنگام نصب تولید میشود استفاده میکنم)
DependencyResolver.Current.GetService<IService>()
نظرات مطالب
کمی درباره httpmodule
با سلام؛ ممنون بابت مطلب خوبی که ارسال کردید.
من میخوام از httpMuodule برای کنترل دسترسی کاربران (Authorization) استفاده کنم و به سشن کاربر نیاز دارم. مشکلی که هست موقع استفاده به این شکل HttpContext.Current.Session پیغام زیر رو میده:
Object not reference to instance of an object
آیا برای استفاده از سشن راه خاصی هست؟
من میخوام از httpMuodule برای کنترل دسترسی کاربران (Authorization) استفاده کنم و به سشن کاربر نیاز دارم. مشکلی که هست موقع استفاده به این شکل HttpContext.Current.Session پیغام زیر رو میده:
Object not reference to instance of an object
آیا برای استفاده از سشن راه خاصی هست؟