NotebookLM now lets you listen to a conversation about your sources
Today, we're introducing Audio Overview, a new way to turn your documents into engaging audio discussions. With one click, two AI hosts start up a lively “deep dive” discussion based on your sources. They summarize your material, make connections between topics, and banter back and forth. You can even download the conversation and take it on the go.
تزریق خودکار وابستگیها در برنامههای ASP.NET Web forms
ولی در یک موضوع به بن بست خوردم
public class EfOurServiceService : IOurServiceService { readonly IUnitOfWork _uow; readonly IDbSet<OurService> _ourServices; readonly IDbSet<OurServiceCategory> _ourServiceCategories; public EfOurServiceService(IUnitOfWork uow) { _uow = uow; _ourServices = _uow.Set<OurService>(); _ourServiceCategories = _uow.Set<OurServiceCategory>(); } public IList GetMasterDetailsFilterLang(string language) { var query = (_ourServiceCategories .Where(c => (c.Language == language)) .Select( c => new { CatId=c.Id, CatName=c.Title, OurServices = c.OurServices .Select( o => new { ServId= o.Id, ServName= o.Title } ) } )); var ss = query.ToList(); //در اینجا که در لایه سرویس در پروژه ای جداگانه است به ایتمهای کوئری دسترسی کامل دارم foreach (var master in ss) { var s = master.CatId; foreach (var details in master.OurServices) { var cc = details.ServName; } } return ss; } }
در اینجا که در لایه سرویس در پروژه ای جداگانه است به ایتمهای کوئری دسترسی کامل دارم
اما زمانی که در پروژه UI که وب سایت Webform قرار داره به شکل زیر از این متود استفاده میکنم :
public string CreateServiceMnu() { var ds = OurServiceService.GetMasterDetailsFilterLang(_LangSar); foreach (var master in ds) { var s = master.CatId; foreach (var details in master.OurServices) { var cc = details.ServName; } } return string.Empty; }
اما به Propertyها دسترسی ندارم : از IList استفاده کردم (پر میشه اما قابل دسترس نیست)
نمیدونم دلیلش چیه ؟
تو لایه Service به Propertyها دسترسی دارم اما در لایه UI که وابستگیها تزریق میشه Propertyها قابل دسترس نیست.
31 نکته برای کدنویسی بهتر در سی شارپ
6.Visual Studio 2017 15.7 منتشر شد
This release contains the following improvements and enhancements:
- This release now installs Java™ Development Kit 8, Update 181 (JDK version 8u181).
These are the customer-reported issues addressed in 15.7.6:
- Visual C++ Redistributable 2017 does not report the install state in a specific registry location.
- In 15.7 users may see extensions load without all of their assets and cause VS to crash. This has been addressed for 15.7.6.
- Visual Studio 2017 version 15.7.5 crashes when opening a solution.
3.Visual Studio 2017 15.6 منتشر شد
These are the customer-reported issues addressed in this release:
- Esc key doesn't close Peek Definition Window.
-
wpp.targets
file execution not working after update to version 15.6. - Project loaded via File->Open->CMake throws exception and CMake cache is not generated..
- Version 15.6 update crashes Xamarin code with NullReferenceException with next scenario.
- XCode Tools installation fails after version 15.6 update.
- Anaconda 5.0.0 Completion DB is not up to date and hitting refresh fails.
- Cannot run NUnit tests after version 15.6.1 update.
- Visual Studio 2017 fails to launch from the command line when launched using 8.3 file name path.
- Version 15.6.0 breaks when VisualStudio\Telemetry\TurnOffSwitch is set to 0.
- Visual Studio Community 2017 auto closes after version 15.6 update..
- CMake generation never stops after version 15.6.1 update.
- Opening a solution with tests, and clicking any toolbar item in Test Explorer causes VS to crash.
حجم تقریبی بروزرسانی از نسخه 15.6.2 به 15.6.3 برابر 1.47GB میباشد
There are a lot of things to consider when choosing your database. Choose wisely because you’ll be married to that database for a long time. One case study is Amazon Marketplace which started with Oracle and tried to migrate after developing their own database solutions. The migration took somewhere between 5 to 10 years, and they seem to be still partially using Oracle. Though if your company reaches Amazon scale, then you’re probably doing very well.
کتابخانه pushIn.js
نگاهی به طرح پیشنهادی Vue.js 3.0
There is a lot of buzz around the internet about Vue.js 3.0's announcement about a new composition model. There are a lot of questions about it and I think much of it is 'they moved my cheese' more than 'they're breaking everything'.