در زمان اولین بارگذاری NHibernate ، ساخت تمام نگاشتها صورت گرفته و همچنین session factory ایجاد میگردد. به همین جهت به کمک الگوی thread safe singleton نسبت به کش کردن آن در طول عمر یک برنامه استفاده میگردد.
در برنامهای که در یک محیط کاری مورد استفاده قرار میگیرد این زمان اصلا مهم نیست، زیرا تنها یکبار باید انجام شود. اما به عنوان یک برنامه نویس شاید در طول روز صدها بار نیاز به باز و بسته کردن برنامه جهت آزمودن آن داشته باشیم و این مورد پس از مدتی تبدیل به عذاب میشود! خوشبختانه امکان serialize نمودن تنظیمات تولیدی session factory به فایل و سپس خواندن از آن نیز وجود دارد که این امر در حین توسعهی برنامه بسیار ارزشمند است.
جهت مطالعه بیشتر میتوان به مطالب زیر مراجعه کرد:
و حاصل تمام این مقالات در پروژهی Effectus، فایل Effectus\Infrastructure\BootStrapper.cs آن گردآوری شده است.
سایتی برای یادگیری زبان سی شارپ
نحوه آموزش یک زبان برنامهنویسی و یا یک تکنولوژی معمولا در محبوبیت آن نقش مهمی دارند. معمولا تکنولوژیها و پلتفرمهایی محبوب میشوند که روش یادگیری آنها سادهتر و مستندتر باشد. سایت زیر برای یادگیری زبان C# روش جالبی را برگزیده است. در این سایت شما میتوانید زبان برنامهنویسی که قبلا با آن کار میکردهاید مانند VB6 یا C++ را انتخاب کنید. محتوی آموزشی این سایت بر اساس تجربه قبلی شما تغییر میکند تا با بازدهی بیشتری آموزش انجام شود.
ویدیوهای کنفرانس DevTernity 2022
سری ویدیوهای NET Conf 2023.
.NET Conf 2023
.NET Conf 2023 is the largest .NET event hosted online! Co-organized by the .NET community and Microsoft and backed by the support of the .NET Foundation and ecosystem partners, it's your ticket to learning and finding inspiration for your upcoming software projects. Dive into the world of web, mobile, cloud, desktop, gaming, IoT, AI, and beyond, all powered by .NET. Whether you're just starting your coding journey or you're a seasoned pro, these sessions are tailored for everyone. Be prepared for presentations covering the exciting new features of .NET 8, C# 12, Azure, Visual Studio, and so much more. Tune in to learn about the fastest release of .NET yet!