我在SQL Server中有一个表.此表具有图像字段,应用程序将文件存储在其中.
有没有办法使用T-SQL读取图像字段中的文件大小?
在代码中
Configuration config = ConfigurationManager.OpenExeConfiguration (Application.ExecutablePath);
ConnectionStringsSection section = config.GetSection("connectionStrings") as ConnectionStringsSection;
if (!section.SectionInformation.IsProtected)
{
section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider");
}
Run Code Online (Sandbox Code Playgroud)
当我将应用程序移动到另一台机器时,我遇到了一些麻烦.
是section.SectionInformation.ProtectSection调用机器依赖,意思是,我不能复制配置文件并在另一台机器上使用它?
是否有机器独立的提供者(DataProtectionConfigurationProvider除外)?
我的应用程序要求它在具有相同配置文件的多台计算机上运行(它必须从闪存驱动器运行).
谢谢,法比奥
我想允许我的用户使用脚本语言来进一步自定义我的应用程序.
我正在寻找一个线程安全的可嵌入脚本引擎,因为它是一个ASP.NET应用程序.我查了一些引擎,比如Javascript.NET(https://github.com/JavascriptNet/Javascript.Net),但它不是Thread安全的.我发现的其他实现看起来不够稳定.
任何sugestions?
谢谢,
法比奥