diff options
107 files changed, 3543 insertions, 0 deletions
| diff --git a/Api/.vs/Api/DesignTimeBuild/.dtbcache.v2 b/Api/.vs/Api/DesignTimeBuild/.dtbcache.v2Binary files differ new file mode 100644 index 0000000..cd14819 --- /dev/null +++ b/Api/.vs/Api/DesignTimeBuild/.dtbcache.v2 diff --git a/Api/.vs/Api/FileContentIndex/6f97b43a-60ca-4a7e-bd96-d48f99048eab.vsidx b/Api/.vs/Api/FileContentIndex/6f97b43a-60ca-4a7e-bd96-d48f99048eab.vsidxBinary files differ new file mode 100644 index 0000000..d7c6805 --- /dev/null +++ b/Api/.vs/Api/FileContentIndex/6f97b43a-60ca-4a7e-bd96-d48f99048eab.vsidx diff --git a/Api/.vs/Api/FileContentIndex/read.lock b/Api/.vs/Api/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Api/.vs/Api/FileContentIndex/read.lock diff --git a/Api/.vs/Api/config/applicationhost.config b/Api/.vs/Api/config/applicationhost.config new file mode 100644 index 0000000..600d758 --- /dev/null +++ b/Api/.vs/Api/config/applicationhost.config @@ -0,0 +1,972 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +    IIS configuration sections. + +    For schema documentation, see +    %IIS_BIN%\config\schema\IIS_schema.xml. +     +    Please make a backup of this file before making any changes to it. + +    NOTE: The following environment variables are available to be used +          within this file and are understood by the IIS Express. + +          %IIS_USER_HOME% - The IIS Express home directory for the user +          %IIS_SITES_HOME% - The default home directory for sites +          %IIS_BIN% - The location of the IIS Express binaries +          %SYSTEMDRIVE% - The drive letter of %IIS_BIN% + +--> +<configuration> +	<!-- + +        The <configSections> section controls the registration of sections. +        Section is the basic unit of deployment, locking, searching and +        containment for configuration settings. +         +        Every section belongs to one section group. +        A section group is a container of logically-related sections. +         +        Sections cannot be nested. +        Section groups may be nested. +         +        <section +            name=""  [Required, Collection Key] [XML name of the section] +            allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set] +            overrideModeDefault="Allow"  [Allow|Deny] [Default delegation mode] +            allowLocation="true"  [true|false] [Allowed in location tags] +        /> +         +        The recommended way to unlock sections is by using a location tag: +        <location path="Default Web Site" overrideMode="Allow"> +            <system.webServer> +                <asp /> +            </system.webServer> +        </location> + +    --> +	<configSections> +		<sectionGroup name="system.applicationHost"> +			<section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +		</sectionGroup> +		<sectionGroup name="system.webServer"> +			<section name="asp" overrideModeDefault="Deny" /> +			<section name="caching" overrideModeDefault="Allow" /> +			<section name="cgi" overrideModeDefault="Deny" /> +			<section name="defaultDocument" overrideModeDefault="Allow" /> +			<section name="directoryBrowse" overrideModeDefault="Allow" /> +			<section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +			<section name="handlers" overrideModeDefault="Deny" /> +			<section name="httpCompression" overrideModeDefault="Allow" allowDefinition="Everywhere" /> +			<section name="httpErrors" overrideModeDefault="Allow" /> +			<section name="httpLogging" overrideModeDefault="Deny" /> +			<section name="httpProtocol" overrideModeDefault="Allow" /> +			<section name="httpRedirect" overrideModeDefault="Allow" /> +			<section name="httpTracing" overrideModeDefault="Deny" /> +			<section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> +			<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> +			<section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /> +			<section name="odbcLogging" overrideModeDefault="Deny" /> +			<sectionGroup name="security"> +				<section name="access" overrideModeDefault="Deny" /> +				<section name="applicationDependencies" overrideModeDefault="Deny" /> +				<sectionGroup name="authentication"> +					<section name="anonymousAuthentication" overrideModeDefault="Deny" /> +					<section name="basicAuthentication" overrideModeDefault="Deny" /> +					<section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" /> +					<section name="digestAuthentication" overrideModeDefault="Deny" /> +					<section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" /> +					<section name="windowsAuthentication" overrideModeDefault="Deny" /> +				</sectionGroup> +				<section name="authorization" overrideModeDefault="Allow" /> +				<section name="ipSecurity" overrideModeDefault="Deny" /> +				<section name="dynamicIpSecurity" overrideModeDefault="Deny" /> +				<section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> +				<section name="requestFiltering" overrideModeDefault="Allow" /> +			</sectionGroup> +			<section name="serverRuntime" overrideModeDefault="Deny" /> +			<section name="serverSideInclude" overrideModeDefault="Deny" /> +			<section name="staticContent" overrideModeDefault="Allow" /> +			<sectionGroup name="tracing"> +				<section name="traceFailedRequests" overrideModeDefault="Allow" /> +				<section name="traceProviderDefinitions" overrideModeDefault="Deny" /> +			</sectionGroup> +			<section name="urlCompression" overrideModeDefault="Allow" /> +			<section name="validation" overrideModeDefault="Allow" /> +			<sectionGroup name="webdav"> +				<section name="globalSettings" overrideModeDefault="Deny" /> +				<section name="authoring" overrideModeDefault="Deny" /> +				<section name="authoringRules" overrideModeDefault="Deny" /> +			</sectionGroup> +			<sectionGroup name="rewrite"> +				<section name="allowedServerVariables" overrideModeDefault="Deny" /> +				<section name="rules" overrideModeDefault="Allow" /> +				<section name="outboundRules" overrideModeDefault="Allow" /> +				<section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" /> +				<section name="providers" overrideModeDefault="Allow" /> +				<section name="rewriteMaps" overrideModeDefault="Allow" /> +			</sectionGroup> +			<section name="webSocket" overrideModeDefault="Deny" /> +			<section name="aspNetCore" overrideModeDefault="Allow" /></sectionGroup> +	</configSections> +	<configProtectedData> +		<providers> +			<add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" /> +			<add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA/HKxkz6alrlAPez0IUgujj/6k3WxCDriHp6jvpv3yEZmo7h6SMzGLxo4mTrIQVHSkB7tmElHKfUFTzE2BWF7nFWHY6Z6qmGBauFzwJMwESjril7Gjz69RBFH259HQ6aRDq9Xfx7U7H4HtdmnKNqGjgl/hwPQBGeIlWiDh+sYv3vKB0QU971tjX6H2B+9armlnC8UOuA6JYMDMI/VLLL16sng0fWAy5JYe0YVABVjiAWDW264RZW9Tr1Oax4qHZKg+SdjULxeOc2YmpX+d0yeITo1HkPF1hN1gHpIPIUDo05ilHUNfR3OkjVCIQK4cFKCq1s8NH+y+13MxUC4Fn1AlQ==" /> +			<add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAALmU8lTC+v2qtfQiiiquvvLpUQqKLEXs+jSKoWCM/uPhyB++k4dwug19mGidNK5FYiWK2KYE1yhjVJcbp12E98Q0R2nT7eBiCMY2JairxQ591rqABK7keGaIjwH7PwGzSpILl3RJ4YFvJ/7ZXEJxeDZIjW8ZxWVXx+/VyHs9U3WguLEkgMUX3jrxJi8LouxaIVPJAv/YQ1ZCWs8zImitxX/C/7o7yaIxznfsN5nGQzQfpUDPeby99aw2zPVTtZI2LaWIBON8guABvZ6JtJVDWmfdK6sodbnwdZkr6/Z2rfvamT1dC1SpQrGG7ulR/f9/GXvCaW10ZVKxekBF/CYlNMg==" /> +		</providers> +	</configProtectedData> +	<system.applicationHost> +		<applicationPools> +			<add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> +			<add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> +			<add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> +			<add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> +			<add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" /> +			<applicationPoolDefaults managedRuntimeVersion="v4.0"> +				<processModel loadUserProfile="true" setProfileEnvironment="false" /> +			</applicationPoolDefaults> +		</applicationPools> +		<!-- + +          The <listenerAdapters> section defines the protocols with which the +          Windows Process Activation Service (WAS) binds. + +        --> +		<listenerAdapters> +			<add name="http" /> +		</listenerAdapters> +		<sites> +			<site name="WebSite1" id="1" serverAutoStart="true"> +				<application path="/"> +					<virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" /> +				</application> +				<bindings> +					<binding protocol="http" bindingInformation=":8080:localhost" /> +				</bindings> +			</site> +			<siteDefaults> +				<!-- To enable logging, please change the below attribute "enabled" to "true" --> +				<logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" /> +				<traceFailedRequestsLogging directory="%AppData%\Microsoft" enabled="false" maxLogFileSizeKB="1024" /> +			</siteDefaults> +			<applicationDefaults applicationPool="Clr4IntegratedAppPool" /> +			<virtualDirectoryDefaults allowSubDirConfig="true" /> +		</sites> +		<webLimits /> +	</system.applicationHost> +	<system.webServer> +		<serverRuntime /> +		<asp scriptErrorSentToBrowser="true"> +			<cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /> +			<limits /> +		</asp> +		<caching enabled="true" enableKernelCache="true"> +		</caching> +		<cgi /> +		<defaultDocument enabled="true"> +			<files> +				<add value="Default.htm" /> +				<add value="Default.asp" /> +				<add value="index.htm" /> +				<add value="index.html" /> +				<add value="iisstart.htm" /> +				<add value="default.aspx" /> +			</files> +		</defaultDocument> +		<directoryBrowse enabled="false" /> +		<fastCgi /> +		<!-- + +          The <globalModules> section defines all native-code modules. +          To enable a module, specify it in the <modules> section. + +        --> +		<globalModules> +			<add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> +			<add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" /> +			<add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" /> +			<add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" /> +			<add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" /> +			<add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" /> +			<add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" /> +			<add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" /> +			<add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" /> +			<add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" /> +			<add name="StaticFileModule" image="%IIS_BIN%\static.dll" /> +			<add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" /> +			<add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" /> +			<add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" /> +			<add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" /> +			<add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" /> +			<add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" /> +			<add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" /> +			<add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" /> +			<add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" /> +			<add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" /> +			<add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" /> +			<add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" /> +			<add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" /> +			<add name="IsapiModule" image="%IIS_BIN%\isapi.dll" /> +			<add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" /> +			<add name="CgiModule" image="%IIS_BIN%\cgi.dll" /> +			<add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" /> +			<!--            <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> --> +			<add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" /> +			<add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" /> +			<add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" /> +			<add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" /> +			<add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" /> +			<add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" /> +			<add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" /> +			<add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" /> +			<add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" /> +            <add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" /> +		</globalModules> +		<httpCompression directory="%TEMP%"> +			<scheme name="gzip" dll="%IIS_BIN%\gzip.dll" /> +			<dynamicTypes> +				<add mimeType="text/*" enabled="true" /> +				<add mimeType="message/*" enabled="true" /> +				<add mimeType="application/x-javascript" enabled="true" /> +				<add mimeType="application/javascript" enabled="true" /> +				<add mimeType="*/*" enabled="false" /> +                <add mimeType="text/event-stream" enabled="false" /> +			</dynamicTypes> +			<staticTypes> +				<add mimeType="text/*" enabled="true" /> +				<add mimeType="message/*" enabled="true" /> +				<add mimeType="application/javascript" enabled="true" /> +				<add mimeType="application/atom+xml" enabled="true" /> +				<add mimeType="application/xaml+xml" enabled="true" /> +				<add mimeType="image/svg+xml" enabled="true" /> +				<add mimeType="*/*" enabled="false" /> +			</staticTypes> +		</httpCompression> +		<httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> +			<error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" /> +			<error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" /> +			<error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" /> +			<error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" /> +			<error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" /> +			<error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" /> +			<error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" /> +			<error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" /> +			<error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" /> +		</httpErrors> +		<httpLogging dontLog="false" /> +		<httpProtocol> +			<customHeaders> +				<clear /> +				<add name="X-Powered-By" value="ASP.NET" /> +			</customHeaders> +			<redirectHeaders> +				<clear /> +			</redirectHeaders> +		</httpProtocol> +		<httpRedirect enabled="false" /> +		<httpTracing /> +		<isapiFilters> +			<filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" /> +			<filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" /> +			<filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" /> +			<filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" /> +			<filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" /> +		</isapiFilters> +		<odbcLogging /> +		<security> +			<access sslFlags="None" /> +			<applicationDependencies> +				<application name="Active Server Pages" groupId="ASP" /> +			</applicationDependencies> +			<authentication> +				<anonymousAuthentication enabled="true" userName="" /> +				<basicAuthentication enabled="false" /> +				<clientCertificateMappingAuthentication enabled="false" /> +				<digestAuthentication enabled="false" /> +				<iisClientCertificateMappingAuthentication enabled="false"> +				</iisClientCertificateMappingAuthentication> +				<windowsAuthentication enabled="false"> +					<providers> +						<add value="Negotiate" /> +						<add value="NTLM" /> +					</providers> +				</windowsAuthentication> +			</authentication> +			<authorization> +				<add accessType="Allow" users="*" /> +			</authorization> +			<ipSecurity allowUnlisted="true" /> +			<isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true"> +				<add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> +				<add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> +				<add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> +				<add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> +			</isapiCgiRestriction> +			<requestFiltering> +				<fileExtensions allowUnlisted="true" applyToWebDAV="true"> +					<add fileExtension=".asa" allowed="false" /> +					<add fileExtension=".asax" allowed="false" /> +					<add fileExtension=".ascx" allowed="false" /> +					<add fileExtension=".master" allowed="false" /> +					<add fileExtension=".skin" allowed="false" /> +					<add fileExtension=".browser" allowed="false" /> +					<add fileExtension=".sitemap" allowed="false" /> +					<add fileExtension=".config" allowed="false" /> +					<add fileExtension=".cs" allowed="false" /> +					<add fileExtension=".csproj" allowed="false" /> +					<add fileExtension=".vb" allowed="false" /> +					<add fileExtension=".vbproj" allowed="false" /> +					<add fileExtension=".webinfo" allowed="false" /> +					<add fileExtension=".licx" allowed="false" /> +					<add fileExtension=".resx" allowed="false" /> +					<add fileExtension=".resources" allowed="false" /> +					<add fileExtension=".mdb" allowed="false" /> +					<add fileExtension=".vjsproj" allowed="false" /> +					<add fileExtension=".java" allowed="false" /> +					<add fileExtension=".jsl" allowed="false" /> +					<add fileExtension=".ldb" allowed="false" /> +					<add fileExtension=".dsdgm" allowed="false" /> +					<add fileExtension=".ssdgm" allowed="false" /> +					<add fileExtension=".lsad" allowed="false" /> +					<add fileExtension=".ssmap" allowed="false" /> +					<add fileExtension=".cd" allowed="false" /> +					<add fileExtension=".dsprototype" allowed="false" /> +					<add fileExtension=".lsaprototype" allowed="false" /> +					<add fileExtension=".sdm" allowed="false" /> +					<add fileExtension=".sdmDocument" allowed="false" /> +					<add fileExtension=".mdf" allowed="false" /> +					<add fileExtension=".ldf" allowed="false" /> +					<add fileExtension=".ad" allowed="false" /> +					<add fileExtension=".dd" allowed="false" /> +					<add fileExtension=".ldd" allowed="false" /> +					<add fileExtension=".sd" allowed="false" /> +					<add fileExtension=".adprototype" allowed="false" /> +					<add fileExtension=".lddprototype" allowed="false" /> +					<add fileExtension=".exclude" allowed="false" /> +					<add fileExtension=".refresh" allowed="false" /> +					<add fileExtension=".compiled" allowed="false" /> +					<add fileExtension=".msgx" allowed="false" /> +					<add fileExtension=".vsdisco" allowed="false" /> +					<add fileExtension=".rules" allowed="false" /> +				</fileExtensions> +				<verbs allowUnlisted="true" applyToWebDAV="true" /> +				<hiddenSegments applyToWebDAV="true"> +					<add segment="web.config" /> +					<add segment="bin" /> +					<add segment="App_code" /> +					<add segment="App_GlobalResources" /> +					<add segment="App_LocalResources" /> +					<add segment="App_WebReferences" /> +					<add segment="App_Data" /> +					<add segment="App_Browsers" /> +				</hiddenSegments> +			</requestFiltering> +		</security> +		<serverSideInclude ssiExecDisable="false" /> +		<staticContent lockAttributes="isDocFooterFileName"> +			<mimeMap fileExtension=".323" mimeType="text/h323" /> +			<mimeMap fileExtension=".3g2" mimeType="video/3gpp2" /> +			<mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" /> +			<mimeMap fileExtension=".3gp" mimeType="video/3gpp" /> +			<mimeMap fileExtension=".3gpp" mimeType="video/3gpp" /> +			<mimeMap fileExtension=".aac" mimeType="audio/aac" /> +			<mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> +			<mimeMap fileExtension=".accde" mimeType="application/msaccess" /> +			<mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> +			<mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> +			<mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" /> +			<mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" /> +			<mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".ai" mimeType="application/postscript" /> +			<mimeMap fileExtension=".aif" mimeType="audio/x-aiff" /> +			<mimeMap fileExtension=".aifc" mimeType="audio/aiff" /> +			<mimeMap fileExtension=".aiff" mimeType="audio/aiff" /> +			<mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" /> +			<mimeMap fileExtension=".application" mimeType="application/x-ms-application" /> +			<mimeMap fileExtension=".art" mimeType="image/x-jg" /> +			<mimeMap fileExtension=".asd" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> +			<mimeMap fileExtension=".asi" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".asm" mimeType="text/plain" /> +			<mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" /> +			<mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> +			<mimeMap fileExtension=".atom" mimeType="application/atom+xml" /> +			<mimeMap fileExtension=".au" mimeType="audio/basic" /> +			<mimeMap fileExtension=".avi" mimeType="video/avi" /> +			<mimeMap fileExtension=".axs" mimeType="application/olescript" /> +			<mimeMap fileExtension=".bas" mimeType="text/plain" /> +			<mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" /> +			<mimeMap fileExtension=".bin" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".bmp" mimeType="image/bmp" /> +			<mimeMap fileExtension=".c" mimeType="text/plain" /> +			<mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" /> +			<mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" /> +			<mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" /> +			<mimeMap fileExtension=".cdf" mimeType="application/x-cdf" /> +			<mimeMap fileExtension=".chm" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".class" mimeType="application/x-java-applet" /> +			<mimeMap fileExtension=".clp" mimeType="application/x-msclip" /> +			<mimeMap fileExtension=".cmx" mimeType="image/x-cmx" /> +			<mimeMap fileExtension=".cnf" mimeType="text/plain" /> +			<mimeMap fileExtension=".cod" mimeType="image/cis-cod" /> +			<mimeMap fileExtension=".cpio" mimeType="application/x-cpio" /> +			<mimeMap fileExtension=".cpp" mimeType="text/plain" /> +			<mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" /> +			<mimeMap fileExtension=".crl" mimeType="application/pkix-crl" /> +			<mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" /> +			<mimeMap fileExtension=".csh" mimeType="application/x-csh" /> +			<mimeMap fileExtension=".css" mimeType="text/css" /> +			<mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".cur" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".dcr" mimeType="application/x-director" /> +			<mimeMap fileExtension=".deploy" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" /> +			<mimeMap fileExtension=".dib" mimeType="image/bmp" /> +			<mimeMap fileExtension=".dir" mimeType="application/x-director" /> +			<mimeMap fileExtension=".disco" mimeType="text/xml" /> +			<mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> +			<mimeMap fileExtension=".dll.config" mimeType="text/xml" /> +			<mimeMap fileExtension=".dlm" mimeType="text/dlm" /> +			<mimeMap fileExtension=".doc" mimeType="application/msword" /> +			<mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" /> +			<mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> +			<mimeMap fileExtension=".dot" mimeType="application/msword" /> +			<mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" /> +			<mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> +			<mimeMap fileExtension=".dsp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".dtd" mimeType="text/xml" /> +			<mimeMap fileExtension=".dvi" mimeType="application/x-dvi" /> +			<mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" /> +			<mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" /> +			<mimeMap fileExtension=".dwp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".dxr" mimeType="application/x-director" /> +			<mimeMap fileExtension=".eml" mimeType="message/rfc822" /> +			<mimeMap fileExtension=".emz" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> +			<mimeMap fileExtension=".eps" mimeType="application/postscript" /> +			<mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" /> +			<mimeMap fileExtension=".etx" mimeType="text/x-setext" /> +			<mimeMap fileExtension=".evy" mimeType="application/envoy" /> +			<mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".exe.config" mimeType="text/xml" /> +			<mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" /> +			<mimeMap fileExtension=".fif" mimeType="application/fractals" /> +			<mimeMap fileExtension=".fla" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" /> +			<mimeMap fileExtension=".flv" mimeType="video/x-flv" /> +			<mimeMap fileExtension=".gif" mimeType="image/gif" /> +			<mimeMap fileExtension=".glb" mimeType="model/gltf-binary" /> +			<mimeMap fileExtension=".gtar" mimeType="application/x-gtar" /> +			<mimeMap fileExtension=".gz" mimeType="application/x-gzip" /> +			<mimeMap fileExtension=".h" mimeType="text/plain" /> +			<mimeMap fileExtension=".hdf" mimeType="application/x-hdf" /> +			<mimeMap fileExtension=".hdml" mimeType="text/x-hdml" /> +			<mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" /> +			<mimeMap fileExtension=".hhk" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".hhp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".hlp" mimeType="application/winhlp" /> +			<mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" /> +			<mimeMap fileExtension=".hta" mimeType="application/hta" /> +			<mimeMap fileExtension=".htc" mimeType="text/x-component" /> +			<mimeMap fileExtension=".htm" mimeType="text/html" /> +			<mimeMap fileExtension=".html" mimeType="text/html" /> +			<mimeMap fileExtension=".htt" mimeType="text/webviewhtml" /> +			<mimeMap fileExtension=".hxt" mimeType="text/html" /> +			<mimeMap fileExtension=".ico" mimeType="image/x-icon" /> +			<mimeMap fileExtension=".ics" mimeType="text/calendar" /> +			<mimeMap fileExtension=".ief" mimeType="image/ief" /> +			<mimeMap fileExtension=".iii" mimeType="application/x-iphone" /> +			<mimeMap fileExtension=".inf" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" /> +			<mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" /> +			<mimeMap fileExtension=".IVF" mimeType="video/x-ivf" /> +			<mimeMap fileExtension=".jar" mimeType="application/java-archive" /> +			<mimeMap fileExtension=".java" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".jck" mimeType="application/liquidmotion" /> +			<mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" /> +			<mimeMap fileExtension=".jfif" mimeType="image/pjpeg" /> +			<mimeMap fileExtension=".jpb" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".jpe" mimeType="image/jpeg" /> +			<mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> +			<mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> +			<mimeMap fileExtension=".js" mimeType="application/javascript" /> +			<mimeMap fileExtension=".json" mimeType="application/json" /> +			<mimeMap fileExtension=".jsonld" mimeType="application/ld+json" /> +			<mimeMap fileExtension=".jsx" mimeType="text/jscript" /> +			<mimeMap fileExtension=".latex" mimeType="application/x-latex" /> +			<mimeMap fileExtension=".less" mimeType="text/css" /> +			<mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" /> +			<mimeMap fileExtension=".lpk" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" /> +			<mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" /> +			<mimeMap fileExtension=".lzh" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" /> +			<mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" /> +			<mimeMap fileExtension=".m1v" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" /> +			<mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" /> +			<mimeMap fileExtension=".m4a" mimeType="audio/mp4" /> +			<mimeMap fileExtension=".m4v" mimeType="video/mp4" /> +			<mimeMap fileExtension=".man" mimeType="application/x-troff-man" /> +			<mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" /> +			<mimeMap fileExtension=".map" mimeType="text/plain" /> +			<mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" /> +			<mimeMap fileExtension=".mdp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".me" mimeType="application/x-troff-me" /> +			<mimeMap fileExtension=".mht" mimeType="message/rfc822" /> +			<mimeMap fileExtension=".mhtml" mimeType="message/rfc822" /> +			<mimeMap fileExtension=".mid" mimeType="audio/mid" /> +			<mimeMap fileExtension=".midi" mimeType="audio/mid" /> +			<mimeMap fileExtension=".mix" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".mmf" mimeType="application/x-smaf" /> +			<mimeMap fileExtension=".mno" mimeType="text/xml" /> +			<mimeMap fileExtension=".mny" mimeType="application/x-msmoney" /> +			<mimeMap fileExtension=".mov" mimeType="video/quicktime" /> +			<mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" /> +			<mimeMap fileExtension=".mp2" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> +			<mimeMap fileExtension=".mp4" mimeType="video/mp4" /> +			<mimeMap fileExtension=".mp4v" mimeType="video/mp4" /> +			<mimeMap fileExtension=".mpa" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".mpe" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".mpeg" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".mpg" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" /> +			<mimeMap fileExtension=".mpv2" mimeType="video/mpeg" /> +			<mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" /> +			<mimeMap fileExtension=".msi" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".mso" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" /> +			<mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" /> +			<mimeMap fileExtension=".nc" mimeType="application/x-netcdf" /> +			<mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" /> +			<mimeMap fileExtension=".nws" mimeType="message/rfc822" /> +			<mimeMap fileExtension=".ocx" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".oda" mimeType="application/oda" /> +			<mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" /> +			<mimeMap fileExtension=".ods" mimeType="application/oleobject" /> +			<mimeMap fileExtension=".oga" mimeType="audio/ogg" /> +			<mimeMap fileExtension=".ogg" mimeType="video/ogg" /> +			<mimeMap fileExtension=".ogv" mimeType="video/ogg" /> +			<mimeMap fileExtension=".one" mimeType="application/onenote" /> +			<mimeMap fileExtension=".onea" mimeType="application/onenote" /> +			<mimeMap fileExtension=".onetoc" mimeType="application/onenote" /> +			<mimeMap fileExtension=".onetoc2" mimeType="application/onenote" /> +			<mimeMap fileExtension=".onetmp" mimeType="application/onenote" /> +			<mimeMap fileExtension=".onepkg" mimeType="application/onenote" /> +			<mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" /> +			<mimeMap fileExtension=".otf" mimeType="font/otf" /> +			<mimeMap fileExtension=".p10" mimeType="application/pkcs10" /> +			<mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" /> +			<mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" /> +			<mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" /> +			<mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" /> +			<mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" /> +			<mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" /> +			<mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" /> +			<mimeMap fileExtension=".pcx" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".pcz" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".pdf" mimeType="application/pdf" /> +			<mimeMap fileExtension=".pfb" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".pfm" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" /> +			<mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" /> +			<mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" /> +			<mimeMap fileExtension=".pma" mimeType="application/x-perfmon" /> +			<mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" /> +			<mimeMap fileExtension=".pml" mimeType="application/x-perfmon" /> +			<mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" /> +			<mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" /> +			<mimeMap fileExtension=".png" mimeType="image/png" /> +			<mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" /> +			<mimeMap fileExtension=".pnz" mimeType="image/png" /> +			<mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" /> +			<mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" /> +			<mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" /> +			<mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" /> +			<mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" /> +			<mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" /> +			<mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" /> +			<mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> +			<mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" /> +			<mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" /> +			<mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> +			<mimeMap fileExtension=".prf" mimeType="application/pics-rules" /> +			<mimeMap fileExtension=".prm" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".prx" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".ps" mimeType="application/postscript" /> +			<mimeMap fileExtension=".psd" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".psm" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".psp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" /> +			<mimeMap fileExtension=".qt" mimeType="video/quicktime" /> +			<mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" /> +			<mimeMap fileExtension=".qxd" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" /> +			<mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" /> +			<mimeMap fileExtension=".rar" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" /> +			<mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" /> +			<mimeMap fileExtension=".rgb" mimeType="image/x-rgb" /> +			<mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" /> +			<mimeMap fileExtension=".rmi" mimeType="audio/mid" /> +			<mimeMap fileExtension=".roff" mimeType="application/x-troff" /> +			<mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" /> +			<mimeMap fileExtension=".rtf" mimeType="application/rtf" /> +			<mimeMap fileExtension=".rtx" mimeType="text/richtext" /> +			<mimeMap fileExtension=".scd" mimeType="application/x-msschedule" /> +			<mimeMap fileExtension=".sct" mimeType="text/scriptlet" /> +			<mimeMap fileExtension=".sea" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" /> +			<mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" /> +			<mimeMap fileExtension=".sgml" mimeType="text/sgml" /> +			<mimeMap fileExtension=".sh" mimeType="application/x-sh" /> +			<mimeMap fileExtension=".shar" mimeType="application/x-shar" /> +			<mimeMap fileExtension=".sit" mimeType="application/x-stuffit" /> +			<mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" /> +			<mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" /> +			<mimeMap fileExtension=".smd" mimeType="audio/x-smd" /> +			<mimeMap fileExtension=".smi" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".smx" mimeType="audio/x-smd" /> +			<mimeMap fileExtension=".smz" mimeType="audio/x-smd" /> +			<mimeMap fileExtension=".snd" mimeType="audio/basic" /> +			<mimeMap fileExtension=".snp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" /> +			<mimeMap fileExtension=".spl" mimeType="application/futuresplash" /> +			<mimeMap fileExtension=".spx" mimeType="audio/ogg" /> +			<mimeMap fileExtension=".src" mimeType="application/x-wais-source" /> +			<mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" /> +			<mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" /> +			<mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" /> +			<mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" /> +			<mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" /> +			<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> +			<mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /> +			<mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" /> +			<mimeMap fileExtension=".t" mimeType="application/x-troff" /> +			<mimeMap fileExtension=".tar" mimeType="application/x-tar" /> +			<mimeMap fileExtension=".tcl" mimeType="application/x-tcl" /> +			<mimeMap fileExtension=".tex" mimeType="application/x-tex" /> +			<mimeMap fileExtension=".texi" mimeType="application/x-texinfo" /> +			<mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" /> +			<mimeMap fileExtension=".tgz" mimeType="application/x-compressed" /> +			<mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" /> +			<mimeMap fileExtension=".thn" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".tif" mimeType="image/tiff" /> +			<mimeMap fileExtension=".tiff" mimeType="image/tiff" /> +			<mimeMap fileExtension=".toc" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".tr" mimeType="application/x-troff" /> +			<mimeMap fileExtension=".trm" mimeType="application/x-msterminal" /> +			<mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" /> +			<mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" /> +			<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" /> +			<mimeMap fileExtension=".txt" mimeType="text/plain" /> +			<mimeMap fileExtension=".u32" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".uls" mimeType="text/iuls" /> +			<mimeMap fileExtension=".ustar" mimeType="application/x-ustar" /> +			<mimeMap fileExtension=".vbs" mimeType="text/vbscript" /> +			<mimeMap fileExtension=".vcf" mimeType="text/x-vcard" /> +			<mimeMap fileExtension=".vcs" mimeType="text/plain" /> +			<mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" /> +			<mimeMap fileExtension=".vml" mimeType="text/xml" /> +			<mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".vss" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".vst" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" /> +			<mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" /> +			<mimeMap fileExtension=".wasm" mimeType="application/wasm" /> +			<mimeMap fileExtension=".wav" mimeType="audio/wav" /> +			<mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" /> +			<mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" /> +			<mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" /> +			<mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" /> +			<mimeMap fileExtension=".webm" mimeType="video/webm" /> +			<mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" /> +			<mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" /> +			<mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> +			<mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" /> +			<mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" /> +			<mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" /> +			<mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" /> +			<mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" /> +			<mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" /> +			<mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" /> +			<mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" /> +			<mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" /> +			<mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" /> +			<mimeMap fileExtension=".woff" mimeType="font/x-woff" /> +			<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> +			<mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" /> +			<mimeMap fileExtension=".wri" mimeType="application/x-mswrite" /> +			<mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" /> +			<mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" /> +			<mimeMap fileExtension=".wsdl" mimeType="text/xml" /> +			<mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" /> +			<mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" /> +			<mimeMap fileExtension=".x" mimeType="application/directx" /> +			<mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" /> +			<mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> +			<mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" /> +			<mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" /> +			<mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" /> +			<mimeMap fileExtension=".xdr" mimeType="text/plain" /> +			<mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" /> +			<mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" /> +			<mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" /> +			<mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" /> +			<mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" /> +			<mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> +			<mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" /> +			<mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> +			<mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" /> +			<mimeMap fileExtension=".xml" mimeType="text/xml" /> +			<mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" /> +			<mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" /> +			<mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" /> +			<mimeMap fileExtension=".xsd" mimeType="text/xml" /> +			<mimeMap fileExtension=".xsf" mimeType="text/xml" /> +			<mimeMap fileExtension=".xsl" mimeType="text/xml" /> +			<mimeMap fileExtension=".xslt" mimeType="text/xml" /> +			<mimeMap fileExtension=".xsn" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".xtp" mimeType="application/octet-stream" /> +			<mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" /> +			<mimeMap fileExtension=".z" mimeType="application/x-compress" /> +			<mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> +		</staticContent> +		<tracing> +			<traceFailedRequests> +				<add path="*"> +					<traceAreas> +						<add provider="ASP" verbosity="Verbose" /> +						<add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> +						<add provider="ISAPI Extension" verbosity="Verbose" /> +						<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" /> +					</traceAreas> +					<failureDefinitions statusCodes="200-999" /> +				</add> +			</traceFailedRequests> +			<traceProviderDefinitions> +				<add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"> +					<areas> +						<clear /> +						<add name="Authentication" value="2" /> +						<add name="Security" value="4" /> +						<add name="Filter" value="8" /> +						<add name="StaticFile" value="16" /> +						<add name="CGI" value="32" /> +						<add name="Compression" value="64" /> +						<add name="Cache" value="128" /> +						<add name="RequestNotifications" value="256" /> +						<add name="Module" value="512" /> +						<add name="Rewrite" value="1024" /> +						<add name="FastCGI" value="4096" /> +						<add name="WebSocket" value="16384" /> +                        <add name="ANCM" value="65536" /> +					</areas> +				</add> +				<add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}"> +					<areas> +						<clear /> +					</areas> +				</add> +				<add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}"> +					<areas> +						<clear /> +					</areas> +				</add> +				<add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"> +					<areas> +						<add name="Infrastructure" value="1" /> +						<add name="Module" value="2" /> +						<add name="Page" value="4" /> +						<add name="AppServices" value="8" /> +					</areas> +				</add> +			</traceProviderDefinitions> +		</tracing> +		<urlCompression /> +		<validation /> +		<webdav> +			<globalSettings> +				<propertyStores> +					<add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" /> +				</propertyStores> +				<lockStores> +					<add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" /> +				</lockStores> +			</globalSettings> +			<authoring> +				<locks enabled="true" lockStore="webdav_simple_lock" /> +			</authoring> +			<authoringRules /> +		</webdav> +		<webSocket /> +		<applicationInitialization /> +	</system.webServer> +	<location path="" overrideMode="Allow"> +		<system.webServer> +			<modules> +				<add name="IsapiFilterModule" lockItem="true" /> +				<add name="BasicAuthenticationModule" lockItem="true" /> +				<add name="IsapiModule" lockItem="true" /> +				<add name="HttpLoggingModule" lockItem="true" /> +				<add name="DynamicCompressionModule" lockItem="true" /> +				<add name="StaticCompressionModule" lockItem="true" /> +				<add name="DefaultDocumentModule" lockItem="true" /> +				<add name="DirectoryListingModule" lockItem="true" /> +				<add name="ProtocolSupportModule" lockItem="true" /> +				<add name="HttpRedirectionModule" lockItem="true" /> +				<add name="ServerSideIncludeModule" lockItem="true" /> +				<add name="StaticFileModule" lockItem="true" /> +				<add name="AnonymousAuthenticationModule" lockItem="true" /> +				<add name="CertificateMappingAuthenticationModule" lockItem="true" /> +				<add name="UrlAuthorizationModule" lockItem="true" /> +				<add name="WindowsAuthenticationModule" lockItem="true" /> +				<add name="IISCertificateMappingAuthenticationModule" lockItem="true" /> +				<add name="WebMatrixSupportModule" lockItem="true" /> +				<add name="IpRestrictionModule" lockItem="true" /> +				<add name="DynamicIpRestrictionModule" lockItem="true" /> +				<add name="RequestFilteringModule" lockItem="true" /> +				<add name="CustomLoggingModule" lockItem="true" /> +				<add name="CustomErrorModule" lockItem="true" /> +				<add name="FailedRequestsTracingModule" lockItem="true" /> +				<add name="CgiModule" lockItem="true" /> +				<add name="FastCgiModule" lockItem="true" /> +				<!--                <add name="WebDAVModule" /> --> +				<add name="RewriteModule" /> +				<add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" /> +				<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" /> +				<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" /> +				<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" /> +				<add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" /> +				<add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" /> +				<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" /> +				<add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" /> +				<add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" /> +				<add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" /> +				<add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" /> +				<add name="ApplicationInitializationModule" lockItem="true" /> +				<add name="WebSocketModule" lockItem="true" /> +				<add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> +				<add name="ConfigurationValidationModule" lockItem="true" /> +				<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" /> +				<add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> +				<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" /> +                <add name="AspNetCoreModuleV2" lockItem="true" /> +			</modules> +			<handlers accessPolicy="Read, Script"> +				<!--                <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> --> +				<add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> +				<add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> +				<add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> +				<add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> +				<add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> +				<add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> +				<add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> +				<add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> +				<add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> +				<add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> +				<add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> +				<add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> +				<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> +				<add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> +				<add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> +				<add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> +				<add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> +				<add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> +				<add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> +				<add name="rules-64-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> +				<add name="xoml-64-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> +				<add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> +				<add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> +				<add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> +				<add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> +				<add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /> +				<add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /> +				<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> +				<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> +				<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" /> +				<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> +			</handlers> +		</system.webServer> +	</location> +</configuration> diff --git a/Api/.vs/Api/v17/.futdcache.v2 b/Api/.vs/Api/v17/.futdcache.v2Binary files differ new file mode 100644 index 0000000..a3ba61d --- /dev/null +++ b/Api/.vs/Api/v17/.futdcache.v2 diff --git a/Api/.vs/Api/v17/.suo b/Api/.vs/Api/v17/.suoBinary files differ new file mode 100644 index 0000000..1245ec3 --- /dev/null +++ b/Api/.vs/Api/v17/.suo diff --git a/Api/.vs/ProjectEvaluation/api.metadata.v5.1 b/Api/.vs/ProjectEvaluation/api.metadata.v5.1Binary files differ new file mode 100644 index 0000000..84b8c77 --- /dev/null +++ b/Api/.vs/ProjectEvaluation/api.metadata.v5.1 diff --git a/Api/.vs/ProjectEvaluation/api.projects.v5.1 b/Api/.vs/ProjectEvaluation/api.projects.v5.1Binary files differ new file mode 100644 index 0000000..3f949eb --- /dev/null +++ b/Api/.vs/ProjectEvaluation/api.projects.v5.1 diff --git a/Api/Api.sln b/Api/Api.sln new file mode 100644 index 0000000..5970342 --- /dev/null +++ b/Api/Api.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32825.248 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api", "Api\Api.csproj", "{B00054A2-EDB4-4FD9-B9D2-FDF010458FE6}" +EndProject +Global +	GlobalSection(SolutionConfigurationPlatforms) = preSolution +		Debug|Any CPU = Debug|Any CPU +		Release|Any CPU = Release|Any CPU +	EndGlobalSection +	GlobalSection(ProjectConfigurationPlatforms) = postSolution +		{B00054A2-EDB4-4FD9-B9D2-FDF010458FE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU +		{B00054A2-EDB4-4FD9-B9D2-FDF010458FE6}.Debug|Any CPU.Build.0 = Debug|Any CPU +		{B00054A2-EDB4-4FD9-B9D2-FDF010458FE6}.Release|Any CPU.ActiveCfg = Release|Any CPU +		{B00054A2-EDB4-4FD9-B9D2-FDF010458FE6}.Release|Any CPU.Build.0 = Release|Any CPU +	EndGlobalSection +	GlobalSection(SolutionProperties) = preSolution +		HideSolutionNode = FALSE +	EndGlobalSection +	GlobalSection(ExtensibilityGlobals) = postSolution +		SolutionGuid = {60276348-18C8-4C8F-86A8-73B57C81F918} +	EndGlobalSection +EndGlobal diff --git a/Api/Api/Api.csproj b/Api/Api/Api.csproj new file mode 100644 index 0000000..c488d11 --- /dev/null +++ b/Api/Api/Api.csproj @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk.Web"> + +  <PropertyGroup> +    <TargetFramework>net6.0</TargetFramework> +    <Nullable>enable</Nullable> +    <ImplicitUsings>enable</ImplicitUsings> +  </PropertyGroup> + +  <ItemGroup> +    <PackageReference Include="MongoDB.Driver" Version="2.18.0" /> +  </ItemGroup> + +</Project> diff --git a/Api/Api/Api.csproj.user b/Api/Api/Api.csproj.user new file mode 100644 index 0000000..6b9f46b --- /dev/null +++ b/Api/Api/Api.csproj.user @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +  <PropertyGroup> +    <Controller_SelectedScaffolderID>ApiControllerWithActionsScaffolder</Controller_SelectedScaffolderID> +    <Controller_SelectedScaffolderCategoryPath>root/Common/Api</Controller_SelectedScaffolderCategoryPath> +  </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/Api/Api/Controllers/ImageController.cs b/Api/Api/Controllers/ImageController.cs new file mode 100644 index 0000000..e158ef3 --- /dev/null +++ b/Api/Api/Controllers/ImageController.cs @@ -0,0 +1,44 @@ +using Api.Interfaces; +using Api.Models; +using Microsoft.AspNetCore.Mvc; + +// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 + +namespace Api.Controllers +{ +    [Route("api/[controller]")] +    [ApiController] +    public class ImageController : ControllerBase +    { + +        private readonly IImageService _imageService; +        public ImageController(IImageService imageService) +        { +            _imageService = imageService; +        } + + + +        // GET: api/<ImageController> +        [HttpGet] +        public Image Get() +        { +            return _imageService.getRandomImage(); +        } + +        // GET api/<ImageController>/5 +        [HttpGet("{id}")] +        public Image Get(string id) +        { +            return _imageService.getImage(id); +        } + +        // POST api/<ImageController> +        [HttpPost] +        public Image Post([FromBody] Image value) +        { +            return _imageService.uploadImage(value); +        } + +    } +} diff --git a/Api/Api/Database/DatabaseConnection.cs b/Api/Api/Database/DatabaseConnection.cs new file mode 100644 index 0000000..33f4db3 --- /dev/null +++ b/Api/Api/Database/DatabaseConnection.cs @@ -0,0 +1,11 @@ +using Api.Interfaces; + +namespace Api.Database +{ +    public class DatabaseConnection : IDatabaseConnection +    { +        public string ConnectionString { get; set; } = String.Empty; +        public string DatabaseName { get; set; } = String.Empty; +        public string ImageCollectionName { get; set; } = String.Empty; +    } +} diff --git a/Api/Api/Interfaces/IDatabaseConnection.cs b/Api/Api/Interfaces/IDatabaseConnection.cs new file mode 100644 index 0000000..2747655 --- /dev/null +++ b/Api/Api/Interfaces/IDatabaseConnection.cs @@ -0,0 +1,9 @@ +namespace Api.Interfaces +{ +    public interface IDatabaseConnection +    { +        string ConnectionString { get; set; } +        string DatabaseName { get; set; } +        string ImageCollectionName { get; set; } +    } +}
\ No newline at end of file diff --git a/Api/Api/Interfaces/IImageService.cs b/Api/Api/Interfaces/IImageService.cs new file mode 100644 index 0000000..71297c9 --- /dev/null +++ b/Api/Api/Interfaces/IImageService.cs @@ -0,0 +1,11 @@ +using Api.Models; + +namespace Api.Interfaces +{ +    public interface IImageService +    { +        Image getImage(string id); +        Image getRandomImage(); +        Image uploadImage(Image image); +    } +}
\ No newline at end of file diff --git a/Api/Api/Models/Image.cs b/Api/Api/Models/Image.cs new file mode 100644 index 0000000..2fd7354 --- /dev/null +++ b/Api/Api/Models/Image.cs @@ -0,0 +1,13 @@ +using MongoDB.Bson.Serialization.Attributes; +using MongoDB.Bson; + +namespace Api.Models +{ +    public class Image +    { +        [BsonId] +        [BsonRepresentation(BsonType.ObjectId)] +        public string _id { get; set; } +        public string image { get; set; } +    } +} diff --git a/Api/Api/Program.cs b/Api/Api/Program.cs new file mode 100644 index 0000000..7070776 --- /dev/null +++ b/Api/Api/Program.cs @@ -0,0 +1,46 @@ +using Api.Database; +using Api.Interfaces; +using Api.Services; +using Microsoft.Extensions.Options; +using MongoDB.Driver; + +var builder = WebApplication.CreateBuilder(args); + + + +builder.Services.Configure<DatabaseConnection>( +    builder.Configuration.GetSection("DatabaseSettings")); + +builder.Services.AddSingleton<IDatabaseConnection>(sp => +    sp.GetRequiredService<IOptions<DatabaseConnection>>().Value); + +builder.Services.AddSingleton<IMongoClient>(s => +    new MongoClient(builder.Configuration.GetValue<string>("DatabaseSettings:ConnectionString"))); + + +builder.Services.AddScoped<IImageService, ImageService>(); + + +// Add services to the container. + +builder.Services.AddControllers(); + +builder.Services.AddCors(options => +{ +    options.AddPolicy("CorsPolicy", builder => builder +    .WithOrigins("http://127.0.0.1", "http://10.0.0.2", "http://localhost") +    .AllowAnyMethod() +    .AllowAnyHeader() +    .AllowCredentials()); +}); + + +var app = builder.Build(); + +// Configure the HTTP request pipeline. + +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); diff --git a/Api/Api/Properties/launchSettings.json b/Api/Api/Properties/launchSettings.json new file mode 100644 index 0000000..f60f56a --- /dev/null +++ b/Api/Api/Properties/launchSettings.json @@ -0,0 +1,23 @@ +{ +  "$schema": "https://json.schemastore.org/launchsettings.json", +  "iisSettings": { +    "windowsAuthentication": false, +    "anonymousAuthentication": true, +    "iisExpress": { +      "applicationUrl": "http://localhost:60514", +      "sslPort": 0 +    } +  }, +  "profiles": { +    "Api": { +      "commandName": "Project", +      "dotnetRunMessages": true, +      "launchBrowser": false, +      "launchUrl": "", +      "applicationUrl": "http://localhost:5276", +      "environmentVariables": { +        "ASPNETCORE_ENVIRONMENT": "Development" +      } +    } +  } +} diff --git a/Api/Api/Services/ImageService.cs b/Api/Api/Services/ImageService.cs new file mode 100644 index 0000000..c7ee420 --- /dev/null +++ b/Api/Api/Services/ImageService.cs @@ -0,0 +1,32 @@ +using Api.Interfaces; +using Api.Models; +using MongoDB.Driver; +using MongoDB.Driver.Linq; + +namespace Api.Services +{ +    public class ImageService : IImageService +    { +        private readonly IMongoCollection<Image> _images; +        public ImageService(IDatabaseConnection settings, IMongoClient mongoClient) +        { +            var database = mongoClient.GetDatabase(settings.DatabaseName); +            _images = database.GetCollection<Image>(settings.ImageCollectionName); + +        } + +        public Image getRandomImage() +        { +            return _images.AsQueryable().Sample(1).FirstOrDefault(); +        } +        public Image getImage(string id) +        { +            return _images.Find(image => image._id == id).FirstOrDefault(); +        } +        public Image uploadImage(Image image) +        { +            _images.InsertOne(image); +            return image; +        } +    } +} diff --git a/Api/Api/appsettings.Development.json b/Api/Api/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Api/Api/appsettings.Development.json @@ -0,0 +1,8 @@ +{ +  "Logging": { +    "LogLevel": { +      "Default": "Information", +      "Microsoft.AspNetCore": "Warning" +    } +  } +} diff --git a/Api/Api/appsettings.json b/Api/Api/appsettings.json new file mode 100644 index 0000000..57b8003 --- /dev/null +++ b/Api/Api/appsettings.json @@ -0,0 +1,16 @@ +{ +    "Logging": { +        "LogLevel": { +            "Default": "Information", +            "Microsoft.AspNetCore": "Warning" +        } +    }, +    "AllowedHosts": "*", +    "DatabaseSettings": { + +        "ConnectionString": "mongodb://127.0.0.1:27017/", +        "DatabaseName": "DemoApp", +        "ImageCollectionName": "images" + +    } +} diff --git a/Api/Api/bin/Debug/net6.0/Api.deps.json b/Api/Api/bin/Debug/net6.0/Api.deps.json new file mode 100644 index 0000000..f9c8bbc --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Api.deps.json @@ -0,0 +1,251 @@ +{ +  "runtimeTarget": { +    "name": ".NETCoreApp,Version=v6.0", +    "signature": "" +  }, +  "compilationOptions": {}, +  "targets": { +    ".NETCoreApp,Version=v6.0": { +      "Api/1.0.0": { +        "dependencies": { +          "MongoDB.Driver": "2.18.0" +        }, +        "runtime": { +          "Api.dll": {} +        } +      }, +      "DnsClient/1.6.1": { +        "dependencies": { +          "Microsoft.Win32.Registry": "5.0.0" +        }, +        "runtime": { +          "lib/net5.0/DnsClient.dll": { +            "assemblyVersion": "1.6.1.0", +            "fileVersion": "1.6.1.0" +          } +        } +      }, +      "Microsoft.Extensions.Logging.Abstractions/2.0.0": {}, +      "Microsoft.NETCore.Platforms/5.0.0": {}, +      "Microsoft.Win32.Registry/5.0.0": { +        "dependencies": { +          "System.Security.AccessControl": "5.0.0", +          "System.Security.Principal.Windows": "5.0.0" +        } +      }, +      "MongoDB.Bson/2.18.0": { +        "dependencies": { +          "System.Runtime.CompilerServices.Unsafe": "5.0.0" +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Bson.dll": { +            "assemblyVersion": "2.18.0.0", +            "fileVersion": "2.18.0.0" +          } +        } +      }, +      "MongoDB.Driver/2.18.0": { +        "dependencies": { +          "Microsoft.Extensions.Logging.Abstractions": "2.0.0", +          "MongoDB.Bson": "2.18.0", +          "MongoDB.Driver.Core": "2.18.0", +          "MongoDB.Libmongocrypt": "1.6.0" +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Driver.dll": { +            "assemblyVersion": "2.18.0.0", +            "fileVersion": "2.18.0.0" +          } +        } +      }, +      "MongoDB.Driver.Core/2.18.0": { +        "dependencies": { +          "DnsClient": "1.6.1", +          "Microsoft.Extensions.Logging.Abstractions": "2.0.0", +          "MongoDB.Bson": "2.18.0", +          "MongoDB.Libmongocrypt": "1.6.0", +          "SharpCompress": "0.30.1", +          "Snappier": "1.0.0", +          "System.Buffers": "4.5.1", +          "ZstdSharp.Port": "0.6.2" +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Driver.Core.dll": { +            "assemblyVersion": "2.18.0.0", +            "fileVersion": "2.18.0.0" +          } +        } +      }, +      "MongoDB.Libmongocrypt/1.6.0": { +        "runtime": { +          "lib/netstandard2.1/MongoDB.Libmongocrypt.dll": { +            "assemblyVersion": "1.6.0.0", +            "fileVersion": "1.6.0.0" +          } +        }, +        "runtimeTargets": { +          "runtimes/linux/native/libmongocrypt.so": { +            "rid": "linux", +            "assetType": "native", +            "fileVersion": "0.0.0.0" +          }, +          "runtimes/osx/native/libmongocrypt.dylib": { +            "rid": "osx", +            "assetType": "native", +            "fileVersion": "0.0.0.0" +          }, +          "runtimes/win/native/mongocrypt.dll": { +            "rid": "win", +            "assetType": "native", +            "fileVersion": "0.0.0.0" +          } +        } +      }, +      "SharpCompress/0.30.1": { +        "runtime": { +          "lib/net5.0/SharpCompress.dll": { +            "assemblyVersion": "0.30.1.0", +            "fileVersion": "0.30.1.0" +          } +        } +      }, +      "Snappier/1.0.0": { +        "runtime": { +          "lib/net5.0/Snappier.dll": { +            "assemblyVersion": "1.0.0.0", +            "fileVersion": "1.0.0.0" +          } +        } +      }, +      "System.Buffers/4.5.1": {}, +      "System.Runtime.CompilerServices.Unsafe/5.0.0": {}, +      "System.Security.AccessControl/5.0.0": { +        "dependencies": { +          "Microsoft.NETCore.Platforms": "5.0.0", +          "System.Security.Principal.Windows": "5.0.0" +        } +      }, +      "System.Security.Principal.Windows/5.0.0": {}, +      "ZstdSharp.Port/0.6.2": { +        "runtime": { +          "lib/net6.0/ZstdSharp.dll": { +            "assemblyVersion": "0.6.2.0", +            "fileVersion": "0.6.2.0" +          } +        } +      } +    } +  }, +  "libraries": { +    "Api/1.0.0": { +      "type": "project", +      "serviceable": false, +      "sha512": "" +    }, +    "DnsClient/1.6.1": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-4H/f2uYJOZ+YObZjpY9ABrKZI+JNw3uizp6oMzTXwDw6F+2qIPhpRl/1t68O/6e98+vqNiYGu+lswmwdYUy3gg==", +      "path": "dnsclient/1.6.1", +      "hashPath": "dnsclient.1.6.1.nupkg.sha512" +    }, +    "Microsoft.Extensions.Logging.Abstractions/2.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==", +      "path": "microsoft.extensions.logging.abstractions/2.0.0", +      "hashPath": "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512" +    }, +    "Microsoft.NETCore.Platforms/5.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==", +      "path": "microsoft.netcore.platforms/5.0.0", +      "hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512" +    }, +    "Microsoft.Win32.Registry/5.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", +      "path": "microsoft.win32.registry/5.0.0", +      "hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512" +    }, +    "MongoDB.Bson/2.18.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-iyiVjkCAZIUiyYDZXXUqISeW7n3O/qcM90PUeJybryg7g4rXhSMRY0oLpAg+NdoXD/Qm9LlmVIePAluHQB91tQ==", +      "path": "mongodb.bson/2.18.0", +      "hashPath": "mongodb.bson.2.18.0.nupkg.sha512" +    }, +    "MongoDB.Driver/2.18.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-nq7wRMeNoqUe+bndHFMDGX8IY3iSmzLoyLzzf8DRos137O+5R4NCsd9qtw/n+DoGFas0gzzyD546Cpz+5AkmLg==", +      "path": "mongodb.driver/2.18.0", +      "hashPath": "mongodb.driver.2.18.0.nupkg.sha512" +    }, +    "MongoDB.Driver.Core/2.18.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-/X5Ty32gyDyzs/fWFwKGS0QUhfQT3V9Sc/F8yhILBu8bjCjBscOFKQsKieAha8xxBnYS7dZvTvhvEJWT7HgJ1g==", +      "path": "mongodb.driver.core/2.18.0", +      "hashPath": "mongodb.driver.core.2.18.0.nupkg.sha512" +    }, +    "MongoDB.Libmongocrypt/1.6.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-kh+MMf+ECIf5sQDIqOdKBd75ktD5aD1EuzCX3R4HOUGPlAbeAm8harf4zwlbvFe2BLfCXZO7HajSABLf4P0GNg==", +      "path": "mongodb.libmongocrypt/1.6.0", +      "hashPath": "mongodb.libmongocrypt.1.6.0.nupkg.sha512" +    }, +    "SharpCompress/0.30.1": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-XqD4TpfyYGa7QTPzaGlMVbcecKnXy4YmYLDWrU+JIj7IuRNl7DH2END+Ll7ekWIY8o3dAMWLFDE1xdhfIWD1nw==", +      "path": "sharpcompress/0.30.1", +      "hashPath": "sharpcompress.0.30.1.nupkg.sha512" +    }, +    "Snappier/1.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-rFtK2KEI9hIe8gtx3a0YDXdHOpedIf9wYCEYtBEmtlyiWVX3XlCNV03JrmmAi/Cdfn7dxK+k0sjjcLv4fpHnqA==", +      "path": "snappier/1.0.0", +      "hashPath": "snappier.1.0.0.nupkg.sha512" +    }, +    "System.Buffers/4.5.1": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", +      "path": "system.buffers/4.5.1", +      "hashPath": "system.buffers.4.5.1.nupkg.sha512" +    }, +    "System.Runtime.CompilerServices.Unsafe/5.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==", +      "path": "system.runtime.compilerservices.unsafe/5.0.0", +      "hashPath": "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512" +    }, +    "System.Security.AccessControl/5.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", +      "path": "system.security.accesscontrol/5.0.0", +      "hashPath": "system.security.accesscontrol.5.0.0.nupkg.sha512" +    }, +    "System.Security.Principal.Windows/5.0.0": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==", +      "path": "system.security.principal.windows/5.0.0", +      "hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512" +    }, +    "ZstdSharp.Port/0.6.2": { +      "type": "package", +      "serviceable": true, +      "sha512": "sha512-jPao/LdUNLUz8rn3H1D8W7wQbZsRZM0iayvWI4xGejJg3XJHT56gcmYdgmCGPdJF1UEBqUjucCRrFB+4HbJsbw==", +      "path": "zstdsharp.port/0.6.2", +      "hashPath": "zstdsharp.port.0.6.2.nupkg.sha512" +    } +  } +}
\ No newline at end of file diff --git a/Api/Api/bin/Debug/net6.0/Api.dll b/Api/Api/bin/Debug/net6.0/Api.dllBinary files differ new file mode 100644 index 0000000..3c4eca8 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Api.dll diff --git a/Api/Api/bin/Debug/net6.0/Api.exe b/Api/Api/bin/Debug/net6.0/Api.exeBinary files differ new file mode 100644 index 0000000..907a0ca --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Api.exe diff --git a/Api/Api/bin/Debug/net6.0/Api.pdb b/Api/Api/bin/Debug/net6.0/Api.pdbBinary files differ new file mode 100644 index 0000000..2a2a730 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Api.pdb diff --git a/Api/Api/bin/Debug/net6.0/Api.runtimeconfig.json b/Api/Api/bin/Debug/net6.0/Api.runtimeconfig.json new file mode 100644 index 0000000..dfb1b77 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Api.runtimeconfig.json @@ -0,0 +1,19 @@ +{ +  "runtimeOptions": { +    "tfm": "net6.0", +    "frameworks": [ +      { +        "name": "Microsoft.NETCore.App", +        "version": "6.0.0" +      }, +      { +        "name": "Microsoft.AspNetCore.App", +        "version": "6.0.0" +      } +    ], +    "configProperties": { +      "System.GC.Server": true, +      "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false +    } +  } +}
\ No newline at end of file diff --git a/Api/Api/bin/Debug/net6.0/DnsClient.dll b/Api/Api/bin/Debug/net6.0/DnsClient.dllBinary files differ new file mode 100644 index 0000000..39aa546 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/DnsClient.dll diff --git a/Api/Api/bin/Debug/net6.0/MongoDB.Bson.dll b/Api/Api/bin/Debug/net6.0/MongoDB.Bson.dllBinary files differ new file mode 100644 index 0000000..580fa07 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/MongoDB.Bson.dll diff --git a/Api/Api/bin/Debug/net6.0/MongoDB.Driver.Core.dll b/Api/Api/bin/Debug/net6.0/MongoDB.Driver.Core.dllBinary files differ new file mode 100644 index 0000000..1d17697 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/MongoDB.Driver.Core.dll diff --git a/Api/Api/bin/Debug/net6.0/MongoDB.Driver.dll b/Api/Api/bin/Debug/net6.0/MongoDB.Driver.dllBinary files differ new file mode 100644 index 0000000..14f7df3 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/MongoDB.Driver.dll diff --git a/Api/Api/bin/Debug/net6.0/MongoDB.Libmongocrypt.dll b/Api/Api/bin/Debug/net6.0/MongoDB.Libmongocrypt.dllBinary files differ new file mode 100644 index 0000000..a98d2a5 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/MongoDB.Libmongocrypt.dll diff --git a/Api/Api/bin/Debug/net6.0/SharpCompress.dll b/Api/Api/bin/Debug/net6.0/SharpCompress.dllBinary files differ new file mode 100644 index 0000000..c1a7f07 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/SharpCompress.dll diff --git a/Api/Api/bin/Debug/net6.0/Snappier.dll b/Api/Api/bin/Debug/net6.0/Snappier.dllBinary files differ new file mode 100644 index 0000000..9b68e85 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/Snappier.dll diff --git a/Api/Api/bin/Debug/net6.0/ZstdSharp.dll b/Api/Api/bin/Debug/net6.0/ZstdSharp.dllBinary files differ new file mode 100644 index 0000000..8b4fe82 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/ZstdSharp.dll diff --git a/Api/Api/bin/Debug/net6.0/appsettings.Development.json b/Api/Api/bin/Debug/net6.0/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/appsettings.Development.json @@ -0,0 +1,8 @@ +{ +  "Logging": { +    "LogLevel": { +      "Default": "Information", +      "Microsoft.AspNetCore": "Warning" +    } +  } +} diff --git a/Api/Api/bin/Debug/net6.0/appsettings.json b/Api/Api/bin/Debug/net6.0/appsettings.json new file mode 100644 index 0000000..57b8003 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/appsettings.json @@ -0,0 +1,16 @@ +{ +    "Logging": { +        "LogLevel": { +            "Default": "Information", +            "Microsoft.AspNetCore": "Warning" +        } +    }, +    "AllowedHosts": "*", +    "DatabaseSettings": { + +        "ConnectionString": "mongodb://127.0.0.1:27017/", +        "DatabaseName": "DemoApp", +        "ImageCollectionName": "images" + +    } +} diff --git a/Api/Api/bin/Debug/net6.0/runtimes/linux/native/libmongocrypt.so b/Api/Api/bin/Debug/net6.0/runtimes/linux/native/libmongocrypt.soBinary files differ new file mode 100644 index 0000000..c4c55c6 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/runtimes/linux/native/libmongocrypt.so diff --git a/Api/Api/bin/Debug/net6.0/runtimes/osx/native/libmongocrypt.dylib b/Api/Api/bin/Debug/net6.0/runtimes/osx/native/libmongocrypt.dylibBinary files differ new file mode 100644 index 0000000..d17acad --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/runtimes/osx/native/libmongocrypt.dylib diff --git a/Api/Api/bin/Debug/net6.0/runtimes/win/native/mongocrypt.dll b/Api/Api/bin/Debug/net6.0/runtimes/win/native/mongocrypt.dllBinary files differ new file mode 100644 index 0000000..bde3c75 --- /dev/null +++ b/Api/Api/bin/Debug/net6.0/runtimes/win/native/mongocrypt.dll diff --git a/Api/Api/obj/Api.csproj.nuget.dgspec.json b/Api/Api/obj/Api.csproj.nuget.dgspec.json new file mode 100644 index 0000000..8059903 --- /dev/null +++ b/Api/Api/obj/Api.csproj.nuget.dgspec.json @@ -0,0 +1,77 @@ +{ +  "format": 1, +  "restore": { +    "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj": {} +  }, +  "projects": { +    "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj": { +      "version": "1.0.0", +      "restore": { +        "projectUniqueName": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj", +        "projectName": "Api", +        "projectPath": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj", +        "packagesPath": "C:\\Users\\cirakg\\.nuget\\packages\\", +        "outputPath": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\obj\\", +        "projectStyle": "PackageReference", +        "fallbackFolders": [ +          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", +          "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" +        ], +        "configFilePaths": [ +          "C:\\Users\\cirakg\\AppData\\Roaming\\NuGet\\NuGet.Config", +          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", +          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" +        ], +        "originalTargetFrameworks": [ +          "net6.0" +        ], +        "sources": { +          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, +          "https://api.nuget.org/v3/index.json": {} +        }, +        "frameworks": { +          "net6.0": { +            "targetAlias": "net6.0", +            "projectReferences": {} +          } +        }, +        "warningProperties": { +          "warnAsError": [ +            "NU1605" +          ] +        } +      }, +      "frameworks": { +        "net6.0": { +          "targetAlias": "net6.0", +          "dependencies": { +            "MongoDB.Driver": { +              "target": "Package", +              "version": "[2.18.0, )" +            } +          }, +          "imports": [ +            "net461", +            "net462", +            "net47", +            "net471", +            "net472", +            "net48", +            "net481" +          ], +          "assetTargetFallback": true, +          "warn": true, +          "frameworkReferences": { +            "Microsoft.AspNetCore.App": { +              "privateAssets": "none" +            }, +            "Microsoft.NETCore.App": { +              "privateAssets": "all" +            } +          }, +          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" +        } +      } +    } +  } +}
\ No newline at end of file diff --git a/Api/Api/obj/Api.csproj.nuget.g.props b/Api/Api/obj/Api.csproj.nuget.g.props new file mode 100644 index 0000000..34645d2 --- /dev/null +++ b/Api/Api/obj/Api.csproj.nuget.g.props @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> +    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> +    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> +    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> +    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> +    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\cirakg\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders> +    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> +    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion> +  </PropertyGroup> +  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> +    <SourceRoot Include="C:\Users\cirakg\.nuget\packages\" /> +    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" /> +    <SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" /> +  </ItemGroup> +</Project>
\ No newline at end of file diff --git a/Api/Api/obj/Api.csproj.nuget.g.targets b/Api/Api/obj/Api.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Api/Api/obj/Api.csproj.nuget.g.targets @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
\ No newline at end of file diff --git a/Api/Api/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/Api/Api/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// <autogenerated /> +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/Api/Api/obj/Debug/net6.0/Api.AssemblyInfo.cs b/Api/Api/obj/Debug/net6.0/Api.AssemblyInfo.cs new file mode 100644 index 0000000..90bb2cb --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +//     This code was generated by a tool. +//     Runtime Version:4.0.30319.42000 +// +//     Changes to this file may cause incorrect behavior and will be lost if +//     the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Api")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Api")] +[assembly: System.Reflection.AssemblyTitleAttribute("Api")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Api/Api/obj/Debug/net6.0/Api.AssemblyInfoInputs.cache b/Api/Api/obj/Debug/net6.0/Api.AssemblyInfoInputs.cache new file mode 100644 index 0000000..071b0f5 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +55789d1aedee022af8021f6fb4d1c741b8c26a28 diff --git a/Api/Api/obj/Debug/net6.0/Api.GeneratedMSBuildEditorConfig.editorconfig b/Api/Api/obj/Debug/net6.0/Api.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..1dae5d8 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,16 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion =  +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids =  +build_property.InvariantGlobalization =  +build_property.PlatformNeutralAssembly =  +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Api +build_property.RootNamespace = Api +build_property.ProjectDir = C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\ +build_property.RazorLangVersion = 6.0 +build_property.SupportLocalizedComponentNames =  +build_property.GenerateRazorMetadataSourceChecksumAttributes =  +build_property.MSBuildProjectDirectory = C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api +build_property._RazorSourceGeneratorDebug =  diff --git a/Api/Api/obj/Debug/net6.0/Api.GlobalUsings.g.cs b/Api/Api/obj/Debug/net6.0/Api.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// <auto-generated/> +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Api/Api/obj/Debug/net6.0/Api.MvcApplicationPartsAssemblyInfo.cache b/Api/Api/obj/Debug/net6.0/Api.MvcApplicationPartsAssemblyInfo.cache new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.MvcApplicationPartsAssemblyInfo.cache diff --git a/Api/Api/obj/Debug/net6.0/Api.assets.cache b/Api/Api/obj/Debug/net6.0/Api.assets.cacheBinary files differ new file mode 100644 index 0000000..322fc85 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.assets.cache diff --git a/Api/Api/obj/Debug/net6.0/Api.csproj.AssemblyReference.cache b/Api/Api/obj/Debug/net6.0/Api.csproj.AssemblyReference.cacheBinary files differ new file mode 100644 index 0000000..6fcf973 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.csproj.AssemblyReference.cache diff --git a/Api/Api/obj/Debug/net6.0/Api.csproj.BuildWithSkipAnalyzers b/Api/Api/obj/Debug/net6.0/Api.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.csproj.BuildWithSkipAnalyzers diff --git a/Api/Api/obj/Debug/net6.0/Api.csproj.CopyComplete b/Api/Api/obj/Debug/net6.0/Api.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.csproj.CopyComplete diff --git a/Api/Api/obj/Debug/net6.0/Api.csproj.CoreCompileInputs.cache b/Api/Api/obj/Debug/net6.0/Api.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..d34356d --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +32a748c2e78aa152e38d9621686ae1e5d5d76144 diff --git a/Api/Api/obj/Debug/net6.0/Api.csproj.FileListAbsolute.txt b/Api/Api/obj/Debug/net6.0/Api.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..51f5dec --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.csproj.FileListAbsolute.txt @@ -0,0 +1,33 @@ +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\appsettings.Development.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\appsettings.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Api.exe +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Api.deps.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Api.runtimeconfig.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Api.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Api.pdb +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\DnsClient.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\MongoDB.Bson.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\MongoDB.Driver.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\MongoDB.Driver.Core.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\MongoDB.Libmongocrypt.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\SharpCompress.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\Snappier.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\ZstdSharp.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\runtimes\linux\native\libmongocrypt.so +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\runtimes\osx\native\libmongocrypt.dylib +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\bin\Debug\net6.0\runtimes\win\native\mongocrypt.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.csproj.AssemblyReference.cache +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.AssemblyInfoInputs.cache +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.AssemblyInfo.cs +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.csproj.CoreCompileInputs.cache +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.MvcApplicationPartsAssemblyInfo.cache +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\staticwebassets.build.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\staticwebassets.development.json +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\scopedcss\bundle\Api.styles.css +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.csproj.CopyComplete +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\refint\Api.dll +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.pdb +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\Api.genruntimeconfig.cache +C:\Users\cirakg\Desktop\CRUD_KOTLIN\Api\Api\obj\Debug\net6.0\ref\Api.dll diff --git a/Api/Api/obj/Debug/net6.0/Api.dll b/Api/Api/obj/Debug/net6.0/Api.dllBinary files differ new file mode 100644 index 0000000..3c4eca8 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.dll diff --git a/Api/Api/obj/Debug/net6.0/Api.genruntimeconfig.cache b/Api/Api/obj/Debug/net6.0/Api.genruntimeconfig.cache new file mode 100644 index 0000000..11e8d46 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.genruntimeconfig.cache @@ -0,0 +1 @@ +b64e70fa42c34cd0c6f7157e5c115b0c708fa268 diff --git a/Api/Api/obj/Debug/net6.0/Api.pdb b/Api/Api/obj/Debug/net6.0/Api.pdbBinary files differ new file mode 100644 index 0000000..2a2a730 --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/Api.pdb diff --git a/Api/Api/obj/Debug/net6.0/apphost.exe b/Api/Api/obj/Debug/net6.0/apphost.exeBinary files differ new file mode 100644 index 0000000..907a0ca --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/apphost.exe diff --git a/Api/Api/obj/Debug/net6.0/ref/Api.dll b/Api/Api/obj/Debug/net6.0/ref/Api.dllBinary files differ new file mode 100644 index 0000000..637052d --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/ref/Api.dll diff --git a/Api/Api/obj/Debug/net6.0/refint/Api.dll b/Api/Api/obj/Debug/net6.0/refint/Api.dllBinary files differ new file mode 100644 index 0000000..637052d --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/refint/Api.dll diff --git a/Api/Api/obj/Debug/net6.0/staticwebassets.build.json b/Api/Api/obj/Debug/net6.0/staticwebassets.build.json new file mode 100644 index 0000000..139778a --- /dev/null +++ b/Api/Api/obj/Debug/net6.0/staticwebassets.build.json @@ -0,0 +1,11 @@ +{ +  "Version": 1, +  "Hash": "llrbuzIYQAIzOVzCT1dMYbgtako286gVg/Pj7offB04=", +  "Source": "Api", +  "BasePath": "_content/Api", +  "Mode": "Default", +  "ManifestType": "Build", +  "ReferencedProjectsConfiguration": [], +  "DiscoveryPatterns": [], +  "Assets": [] +}
\ No newline at end of file diff --git a/Api/Api/obj/project.assets.json b/Api/Api/obj/project.assets.json new file mode 100644 index 0000000..b6263b3 --- /dev/null +++ b/Api/Api/obj/project.assets.json @@ -0,0 +1,745 @@ +{ +  "version": 3, +  "targets": { +    "net6.0": { +      "DnsClient/1.6.1": { +        "type": "package", +        "dependencies": { +          "Microsoft.Win32.Registry": "5.0.0" +        }, +        "compile": { +          "lib/net5.0/DnsClient.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/net5.0/DnsClient.dll": { +            "related": ".xml" +          } +        } +      }, +      "Microsoft.Extensions.Logging.Abstractions/2.0.0": { +        "type": "package", +        "compile": { +          "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { +            "related": ".xml" +          } +        } +      }, +      "Microsoft.NETCore.Platforms/5.0.0": { +        "type": "package", +        "compile": { +          "lib/netstandard1.0/_._": {} +        }, +        "runtime": { +          "lib/netstandard1.0/_._": {} +        } +      }, +      "Microsoft.Win32.Registry/5.0.0": { +        "type": "package", +        "dependencies": { +          "System.Security.AccessControl": "5.0.0", +          "System.Security.Principal.Windows": "5.0.0" +        }, +        "compile": { +          "ref/netstandard2.0/Microsoft.Win32.Registry.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.0/Microsoft.Win32.Registry.dll": { +            "related": ".xml" +          } +        }, +        "runtimeTargets": { +          "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { +            "assetType": "runtime", +            "rid": "win" +          } +        } +      }, +      "MongoDB.Bson/2.18.0": { +        "type": "package", +        "dependencies": { +          "System.Runtime.CompilerServices.Unsafe": "5.0.0" +        }, +        "compile": { +          "lib/netstandard2.1/MongoDB.Bson.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Bson.dll": { +            "related": ".xml" +          } +        } +      }, +      "MongoDB.Driver/2.18.0": { +        "type": "package", +        "dependencies": { +          "Microsoft.Extensions.Logging.Abstractions": "2.0.0", +          "MongoDB.Bson": "2.18.0", +          "MongoDB.Driver.Core": "2.18.0", +          "MongoDB.Libmongocrypt": "1.6.0" +        }, +        "compile": { +          "lib/netstandard2.1/MongoDB.Driver.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Driver.dll": { +            "related": ".xml" +          } +        } +      }, +      "MongoDB.Driver.Core/2.18.0": { +        "type": "package", +        "dependencies": { +          "DnsClient": "1.6.1", +          "Microsoft.Extensions.Logging.Abstractions": "2.0.0", +          "MongoDB.Bson": "2.18.0", +          "MongoDB.Libmongocrypt": "1.6.0", +          "SharpCompress": "0.30.1", +          "Snappier": "1.0.0", +          "System.Buffers": "4.5.1", +          "ZstdSharp.Port": "0.6.2" +        }, +        "compile": { +          "lib/netstandard2.1/MongoDB.Driver.Core.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Driver.Core.dll": { +            "related": ".xml" +          } +        } +      }, +      "MongoDB.Libmongocrypt/1.6.0": { +        "type": "package", +        "compile": { +          "lib/netstandard2.1/MongoDB.Libmongocrypt.dll": {} +        }, +        "runtime": { +          "lib/netstandard2.1/MongoDB.Libmongocrypt.dll": {} +        }, +        "contentFiles": { +          "contentFiles/any/any/_._": { +            "buildAction": "None", +            "codeLanguage": "any", +            "copyToOutput": false +          } +        }, +        "build": { +          "build/_._": {} +        }, +        "runtimeTargets": { +          "runtimes/linux/native/libmongocrypt.so": { +            "assetType": "native", +            "rid": "linux" +          }, +          "runtimes/osx/native/libmongocrypt.dylib": { +            "assetType": "native", +            "rid": "osx" +          }, +          "runtimes/win/native/mongocrypt.dll": { +            "assetType": "native", +            "rid": "win" +          } +        } +      }, +      "SharpCompress/0.30.1": { +        "type": "package", +        "compile": { +          "lib/net5.0/SharpCompress.dll": {} +        }, +        "runtime": { +          "lib/net5.0/SharpCompress.dll": {} +        } +      }, +      "Snappier/1.0.0": { +        "type": "package", +        "compile": { +          "lib/net5.0/Snappier.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/net5.0/Snappier.dll": { +            "related": ".xml" +          } +        } +      }, +      "System.Buffers/4.5.1": { +        "type": "package", +        "compile": { +          "ref/netcoreapp2.0/_._": {} +        }, +        "runtime": { +          "lib/netcoreapp2.0/_._": {} +        } +      }, +      "System.Runtime.CompilerServices.Unsafe/5.0.0": { +        "type": "package", +        "compile": { +          "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": { +            "related": ".xml" +          } +        } +      }, +      "System.Security.AccessControl/5.0.0": { +        "type": "package", +        "dependencies": { +          "Microsoft.NETCore.Platforms": "5.0.0", +          "System.Security.Principal.Windows": "5.0.0" +        }, +        "compile": { +          "ref/netstandard2.0/System.Security.AccessControl.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.0/System.Security.AccessControl.dll": { +            "related": ".xml" +          } +        }, +        "runtimeTargets": { +          "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": { +            "assetType": "runtime", +            "rid": "win" +          } +        } +      }, +      "System.Security.Principal.Windows/5.0.0": { +        "type": "package", +        "compile": { +          "ref/netcoreapp3.0/System.Security.Principal.Windows.dll": { +            "related": ".xml" +          } +        }, +        "runtime": { +          "lib/netstandard2.0/System.Security.Principal.Windows.dll": { +            "related": ".xml" +          } +        }, +        "runtimeTargets": { +          "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { +            "assetType": "runtime", +            "rid": "unix" +          }, +          "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { +            "assetType": "runtime", +            "rid": "win" +          } +        } +      }, +      "ZstdSharp.Port/0.6.2": { +        "type": "package", +        "compile": { +          "lib/net6.0/ZstdSharp.dll": {} +        }, +        "runtime": { +          "lib/net6.0/ZstdSharp.dll": {} +        } +      } +    } +  }, +  "libraries": { +    "DnsClient/1.6.1": { +      "sha512": "4H/f2uYJOZ+YObZjpY9ABrKZI+JNw3uizp6oMzTXwDw6F+2qIPhpRl/1t68O/6e98+vqNiYGu+lswmwdYUy3gg==", +      "type": "package", +      "path": "dnsclient/1.6.1", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "dnsclient.1.6.1.nupkg.sha512", +        "dnsclient.nuspec", +        "icon.png", +        "lib/net45/DnsClient.dll", +        "lib/net45/DnsClient.xml", +        "lib/net471/DnsClient.dll", +        "lib/net471/DnsClient.xml", +        "lib/net5.0/DnsClient.dll", +        "lib/net5.0/DnsClient.xml", +        "lib/netstandard1.3/DnsClient.dll", +        "lib/netstandard1.3/DnsClient.xml", +        "lib/netstandard2.0/DnsClient.dll", +        "lib/netstandard2.0/DnsClient.xml", +        "lib/netstandard2.1/DnsClient.dll", +        "lib/netstandard2.1/DnsClient.xml" +      ] +    }, +    "Microsoft.Extensions.Logging.Abstractions/2.0.0": { +      "sha512": "6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==", +      "type": "package", +      "path": "microsoft.extensions.logging.abstractions/2.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", +        "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", +        "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512", +        "microsoft.extensions.logging.abstractions.nuspec" +      ] +    }, +    "Microsoft.NETCore.Platforms/5.0.0": { +      "sha512": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==", +      "type": "package", +      "path": "microsoft.netcore.platforms/5.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "Icon.png", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/netstandard1.0/_._", +        "microsoft.netcore.platforms.5.0.0.nupkg.sha512", +        "microsoft.netcore.platforms.nuspec", +        "runtime.json", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "Microsoft.Win32.Registry/5.0.0": { +      "sha512": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", +      "type": "package", +      "path": "microsoft.win32.registry/5.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "Icon.png", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/net46/Microsoft.Win32.Registry.dll", +        "lib/net461/Microsoft.Win32.Registry.dll", +        "lib/net461/Microsoft.Win32.Registry.xml", +        "lib/netstandard1.3/Microsoft.Win32.Registry.dll", +        "lib/netstandard2.0/Microsoft.Win32.Registry.dll", +        "lib/netstandard2.0/Microsoft.Win32.Registry.xml", +        "microsoft.win32.registry.5.0.0.nupkg.sha512", +        "microsoft.win32.registry.nuspec", +        "ref/net46/Microsoft.Win32.Registry.dll", +        "ref/net461/Microsoft.Win32.Registry.dll", +        "ref/net461/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/Microsoft.Win32.Registry.dll", +        "ref/netstandard1.3/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/de/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/es/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/it/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml", +        "ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml", +        "ref/netstandard2.0/Microsoft.Win32.Registry.dll", +        "ref/netstandard2.0/Microsoft.Win32.Registry.xml", +        "runtimes/win/lib/net46/Microsoft.Win32.Registry.dll", +        "runtimes/win/lib/net461/Microsoft.Win32.Registry.dll", +        "runtimes/win/lib/net461/Microsoft.Win32.Registry.xml", +        "runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll", +        "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll", +        "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "MongoDB.Bson/2.18.0": { +      "sha512": "iyiVjkCAZIUiyYDZXXUqISeW7n3O/qcM90PUeJybryg7g4rXhSMRY0oLpAg+NdoXD/Qm9LlmVIePAluHQB91tQ==", +      "type": "package", +      "path": "mongodb.bson/2.18.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "License.txt", +        "lib/net472/MongoDB.Bson.dll", +        "lib/net472/MongoDB.Bson.xml", +        "lib/netstandard2.0/MongoDB.Bson.dll", +        "lib/netstandard2.0/MongoDB.Bson.xml", +        "lib/netstandard2.1/MongoDB.Bson.dll", +        "lib/netstandard2.1/MongoDB.Bson.xml", +        "mongodb.bson.2.18.0.nupkg.sha512", +        "mongodb.bson.nuspec", +        "packageIcon.png" +      ] +    }, +    "MongoDB.Driver/2.18.0": { +      "sha512": "nq7wRMeNoqUe+bndHFMDGX8IY3iSmzLoyLzzf8DRos137O+5R4NCsd9qtw/n+DoGFas0gzzyD546Cpz+5AkmLg==", +      "type": "package", +      "path": "mongodb.driver/2.18.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "License.txt", +        "lib/net472/MongoDB.Driver.dll", +        "lib/net472/MongoDB.Driver.xml", +        "lib/netstandard2.0/MongoDB.Driver.dll", +        "lib/netstandard2.0/MongoDB.Driver.xml", +        "lib/netstandard2.1/MongoDB.Driver.dll", +        "lib/netstandard2.1/MongoDB.Driver.xml", +        "mongodb.driver.2.18.0.nupkg.sha512", +        "mongodb.driver.nuspec", +        "packageIcon.png" +      ] +    }, +    "MongoDB.Driver.Core/2.18.0": { +      "sha512": "/X5Ty32gyDyzs/fWFwKGS0QUhfQT3V9Sc/F8yhILBu8bjCjBscOFKQsKieAha8xxBnYS7dZvTvhvEJWT7HgJ1g==", +      "type": "package", +      "path": "mongodb.driver.core/2.18.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "License.txt", +        "THIRD-PARTY-NOTICES", +        "lib/net472/MongoDB.Driver.Core.dll", +        "lib/net472/MongoDB.Driver.Core.xml", +        "lib/netstandard2.0/MongoDB.Driver.Core.dll", +        "lib/netstandard2.0/MongoDB.Driver.Core.xml", +        "lib/netstandard2.1/MongoDB.Driver.Core.dll", +        "lib/netstandard2.1/MongoDB.Driver.Core.xml", +        "mongodb.driver.core.2.18.0.nupkg.sha512", +        "mongodb.driver.core.nuspec", +        "packageIcon.png" +      ] +    }, +    "MongoDB.Libmongocrypt/1.6.0": { +      "sha512": "kh+MMf+ECIf5sQDIqOdKBd75ktD5aD1EuzCX3R4HOUGPlAbeAm8harf4zwlbvFe2BLfCXZO7HajSABLf4P0GNg==", +      "type": "package", +      "path": "mongodb.libmongocrypt/1.6.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "License.txt", +        "build/MongoDB.Libmongocrypt.targets", +        "content/libmongocrypt.dylib", +        "content/libmongocrypt.so", +        "content/mongocrypt.dll", +        "contentFiles/any/net472/libmongocrypt.dylib", +        "contentFiles/any/net472/libmongocrypt.so", +        "contentFiles/any/net472/mongocrypt.dll", +        "contentFiles/any/netstandard2.0/libmongocrypt.dylib", +        "contentFiles/any/netstandard2.0/libmongocrypt.so", +        "contentFiles/any/netstandard2.0/mongocrypt.dll", +        "contentFiles/any/netstandard2.1/libmongocrypt.dylib", +        "contentFiles/any/netstandard2.1/libmongocrypt.so", +        "contentFiles/any/netstandard2.1/mongocrypt.dll", +        "lib/net472/MongoDB.Libmongocrypt.dll", +        "lib/netstandard2.0/MongoDB.Libmongocrypt.dll", +        "lib/netstandard2.1/MongoDB.Libmongocrypt.dll", +        "mongodb.libmongocrypt.1.6.0.nupkg.sha512", +        "mongodb.libmongocrypt.nuspec", +        "runtimes/linux/native/libmongocrypt.so", +        "runtimes/osx/native/libmongocrypt.dylib", +        "runtimes/win/native/mongocrypt.dll" +      ] +    }, +    "SharpCompress/0.30.1": { +      "sha512": "XqD4TpfyYGa7QTPzaGlMVbcecKnXy4YmYLDWrU+JIj7IuRNl7DH2END+Ll7ekWIY8o3dAMWLFDE1xdhfIWD1nw==", +      "type": "package", +      "path": "sharpcompress/0.30.1", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "lib/net461/SharpCompress.dll", +        "lib/net5.0/SharpCompress.dll", +        "lib/netcoreapp3.1/SharpCompress.dll", +        "lib/netstandard2.0/SharpCompress.dll", +        "lib/netstandard2.1/SharpCompress.dll", +        "sharpcompress.0.30.1.nupkg.sha512", +        "sharpcompress.nuspec" +      ] +    }, +    "Snappier/1.0.0": { +      "sha512": "rFtK2KEI9hIe8gtx3a0YDXdHOpedIf9wYCEYtBEmtlyiWVX3XlCNV03JrmmAi/Cdfn7dxK+k0sjjcLv4fpHnqA==", +      "type": "package", +      "path": "snappier/1.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "COPYING.txt", +        "lib/net5.0/Snappier.dll", +        "lib/net5.0/Snappier.xml", +        "lib/netcoreapp3.0/Snappier.dll", +        "lib/netcoreapp3.0/Snappier.xml", +        "lib/netstandard2.0/Snappier.dll", +        "lib/netstandard2.0/Snappier.xml", +        "lib/netstandard2.1/Snappier.dll", +        "lib/netstandard2.1/Snappier.xml", +        "snappier.1.0.0.nupkg.sha512", +        "snappier.nuspec" +      ] +    }, +    "System.Buffers/4.5.1": { +      "sha512": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", +      "type": "package", +      "path": "system.buffers/4.5.1", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/net461/System.Buffers.dll", +        "lib/net461/System.Buffers.xml", +        "lib/netcoreapp2.0/_._", +        "lib/netstandard1.1/System.Buffers.dll", +        "lib/netstandard1.1/System.Buffers.xml", +        "lib/netstandard2.0/System.Buffers.dll", +        "lib/netstandard2.0/System.Buffers.xml", +        "lib/uap10.0.16299/_._", +        "ref/net45/System.Buffers.dll", +        "ref/net45/System.Buffers.xml", +        "ref/netcoreapp2.0/_._", +        "ref/netstandard1.1/System.Buffers.dll", +        "ref/netstandard1.1/System.Buffers.xml", +        "ref/netstandard2.0/System.Buffers.dll", +        "ref/netstandard2.0/System.Buffers.xml", +        "ref/uap10.0.16299/_._", +        "system.buffers.4.5.1.nupkg.sha512", +        "system.buffers.nuspec", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "System.Runtime.CompilerServices.Unsafe/5.0.0": { +      "sha512": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==", +      "type": "package", +      "path": "system.runtime.compilerservices.unsafe/5.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "Icon.png", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/net45/System.Runtime.CompilerServices.Unsafe.dll", +        "lib/net45/System.Runtime.CompilerServices.Unsafe.xml", +        "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll", +        "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml", +        "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", +        "lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", +        "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", +        "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", +        "ref/net461/System.Runtime.CompilerServices.Unsafe.dll", +        "ref/net461/System.Runtime.CompilerServices.Unsafe.xml", +        "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll", +        "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml", +        "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", +        "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", +        "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll", +        "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.xml", +        "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512", +        "system.runtime.compilerservices.unsafe.nuspec", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "System.Security.AccessControl/5.0.0": { +      "sha512": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", +      "type": "package", +      "path": "system.security.accesscontrol/5.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "Icon.png", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/net46/System.Security.AccessControl.dll", +        "lib/net461/System.Security.AccessControl.dll", +        "lib/net461/System.Security.AccessControl.xml", +        "lib/netstandard1.3/System.Security.AccessControl.dll", +        "lib/netstandard2.0/System.Security.AccessControl.dll", +        "lib/netstandard2.0/System.Security.AccessControl.xml", +        "lib/uap10.0.16299/_._", +        "ref/net46/System.Security.AccessControl.dll", +        "ref/net461/System.Security.AccessControl.dll", +        "ref/net461/System.Security.AccessControl.xml", +        "ref/netstandard1.3/System.Security.AccessControl.dll", +        "ref/netstandard1.3/System.Security.AccessControl.xml", +        "ref/netstandard1.3/de/System.Security.AccessControl.xml", +        "ref/netstandard1.3/es/System.Security.AccessControl.xml", +        "ref/netstandard1.3/fr/System.Security.AccessControl.xml", +        "ref/netstandard1.3/it/System.Security.AccessControl.xml", +        "ref/netstandard1.3/ja/System.Security.AccessControl.xml", +        "ref/netstandard1.3/ko/System.Security.AccessControl.xml", +        "ref/netstandard1.3/ru/System.Security.AccessControl.xml", +        "ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml", +        "ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml", +        "ref/netstandard2.0/System.Security.AccessControl.dll", +        "ref/netstandard2.0/System.Security.AccessControl.xml", +        "ref/uap10.0.16299/_._", +        "runtimes/win/lib/net46/System.Security.AccessControl.dll", +        "runtimes/win/lib/net461/System.Security.AccessControl.dll", +        "runtimes/win/lib/net461/System.Security.AccessControl.xml", +        "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll", +        "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml", +        "runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll", +        "runtimes/win/lib/uap10.0.16299/_._", +        "system.security.accesscontrol.5.0.0.nupkg.sha512", +        "system.security.accesscontrol.nuspec", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "System.Security.Principal.Windows/5.0.0": { +      "sha512": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==", +      "type": "package", +      "path": "system.security.principal.windows/5.0.0", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "Icon.png", +        "LICENSE.TXT", +        "THIRD-PARTY-NOTICES.TXT", +        "lib/net46/System.Security.Principal.Windows.dll", +        "lib/net461/System.Security.Principal.Windows.dll", +        "lib/net461/System.Security.Principal.Windows.xml", +        "lib/netstandard1.3/System.Security.Principal.Windows.dll", +        "lib/netstandard2.0/System.Security.Principal.Windows.dll", +        "lib/netstandard2.0/System.Security.Principal.Windows.xml", +        "lib/uap10.0.16299/_._", +        "ref/net46/System.Security.Principal.Windows.dll", +        "ref/net461/System.Security.Principal.Windows.dll", +        "ref/net461/System.Security.Principal.Windows.xml", +        "ref/netcoreapp3.0/System.Security.Principal.Windows.dll", +        "ref/netcoreapp3.0/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/System.Security.Principal.Windows.dll", +        "ref/netstandard1.3/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/de/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/es/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/fr/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/it/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/ja/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/ko/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/ru/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml", +        "ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml", +        "ref/netstandard2.0/System.Security.Principal.Windows.dll", +        "ref/netstandard2.0/System.Security.Principal.Windows.xml", +        "ref/uap10.0.16299/_._", +        "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", +        "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", +        "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", +        "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", +        "runtimes/win/lib/net46/System.Security.Principal.Windows.dll", +        "runtimes/win/lib/net461/System.Security.Principal.Windows.dll", +        "runtimes/win/lib/net461/System.Security.Principal.Windows.xml", +        "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", +        "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", +        "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", +        "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", +        "runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll", +        "runtimes/win/lib/uap10.0.16299/_._", +        "system.security.principal.windows.5.0.0.nupkg.sha512", +        "system.security.principal.windows.nuspec", +        "useSharedDesignerContext.txt", +        "version.txt" +      ] +    }, +    "ZstdSharp.Port/0.6.2": { +      "sha512": "jPao/LdUNLUz8rn3H1D8W7wQbZsRZM0iayvWI4xGejJg3XJHT56gcmYdgmCGPdJF1UEBqUjucCRrFB+4HbJsbw==", +      "type": "package", +      "path": "zstdsharp.port/0.6.2", +      "files": [ +        ".nupkg.metadata", +        ".signature.p7s", +        "lib/net461/ZstdSharp.dll", +        "lib/net5.0/ZstdSharp.dll", +        "lib/net6.0/ZstdSharp.dll", +        "lib/netcoreapp3.1/ZstdSharp.dll", +        "lib/netstandard2.0/ZstdSharp.dll", +        "lib/netstandard2.1/ZstdSharp.dll", +        "zstdsharp.port.0.6.2.nupkg.sha512", +        "zstdsharp.port.nuspec" +      ] +    } +  }, +  "projectFileDependencyGroups": { +    "net6.0": [ +      "MongoDB.Driver >= 2.18.0" +    ] +  }, +  "packageFolders": { +    "C:\\Users\\cirakg\\.nuget\\packages\\": {}, +    "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, +    "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} +  }, +  "project": { +    "version": "1.0.0", +    "restore": { +      "projectUniqueName": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj", +      "projectName": "Api", +      "projectPath": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj", +      "packagesPath": "C:\\Users\\cirakg\\.nuget\\packages\\", +      "outputPath": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\obj\\", +      "projectStyle": "PackageReference", +      "fallbackFolders": [ +        "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", +        "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" +      ], +      "configFilePaths": [ +        "C:\\Users\\cirakg\\AppData\\Roaming\\NuGet\\NuGet.Config", +        "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", +        "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" +      ], +      "originalTargetFrameworks": [ +        "net6.0" +      ], +      "sources": { +        "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, +        "https://api.nuget.org/v3/index.json": {} +      }, +      "frameworks": { +        "net6.0": { +          "targetAlias": "net6.0", +          "projectReferences": {} +        } +      }, +      "warningProperties": { +        "warnAsError": [ +          "NU1605" +        ] +      } +    }, +    "frameworks": { +      "net6.0": { +        "targetAlias": "net6.0", +        "dependencies": { +          "MongoDB.Driver": { +            "target": "Package", +            "version": "[2.18.0, )" +          } +        }, +        "imports": [ +          "net461", +          "net462", +          "net47", +          "net471", +          "net472", +          "net48", +          "net481" +        ], +        "assetTargetFallback": true, +        "warn": true, +        "frameworkReferences": { +          "Microsoft.AspNetCore.App": { +            "privateAssets": "none" +          }, +          "Microsoft.NETCore.App": { +            "privateAssets": "all" +          } +        }, +        "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" +      } +    } +  } +}
\ No newline at end of file diff --git a/Api/Api/obj/project.nuget.cache b/Api/Api/obj/project.nuget.cache new file mode 100644 index 0000000..61c4b78 --- /dev/null +++ b/Api/Api/obj/project.nuget.cache @@ -0,0 +1,24 @@ +{ +  "version": 2, +  "dgSpecHash": "VYeGSaSyszHhj5SNQRfZDxjoEI/TLiPsFsqHyBSjdKg9IL2wC1/4Eiuq/NzDhA1tzrzHaoO85p3etwyEMaa/Tw==", +  "success": true, +  "projectFilePath": "C:\\Users\\cirakg\\Desktop\\CRUD_KOTLIN\\Api\\Api\\Api.csproj", +  "expectedPackageFiles": [ +    "C:\\Users\\cirakg\\.nuget\\packages\\dnsclient\\1.6.1\\dnsclient.1.6.1.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\2.0.0\\microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\microsoft.netcore.platforms\\5.0.0\\microsoft.netcore.platforms.5.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\microsoft.win32.registry\\5.0.0\\microsoft.win32.registry.5.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\mongodb.bson\\2.18.0\\mongodb.bson.2.18.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\mongodb.driver\\2.18.0\\mongodb.driver.2.18.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\mongodb.driver.core\\2.18.0\\mongodb.driver.core.2.18.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\mongodb.libmongocrypt\\1.6.0\\mongodb.libmongocrypt.1.6.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\sharpcompress\\0.30.1\\sharpcompress.0.30.1.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\snappier\\1.0.0\\snappier.1.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\system.security.accesscontrol\\5.0.0\\system.security.accesscontrol.5.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512", +    "C:\\Users\\cirakg\\.nuget\\packages\\zstdsharp.port\\0.6.2\\zstdsharp.port.0.6.2.nupkg.sha512" +  ], +  "logs": [] +}
\ No newline at end of file diff --git a/Api/Api/obj/staticwebassets.pack.sentinel b/Api/Api/obj/staticwebassets.pack.sentinel new file mode 100644 index 0000000..25a1697 --- /dev/null +++ b/Api/Api/obj/staticwebassets.pack.sentinel @@ -0,0 +1,4 @@ +2.0 +2.0 +2.0 +2.0 diff --git a/ClientApp/.gitignore b/ClientApp/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/ClientApp/.gitignore @@ -0,0 +1,15 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties diff --git a/ClientApp/.idea/.gitignore b/ClientApp/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/ClientApp/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/ClientApp/.idea/compiler.xml b/ClientApp/.idea/compiler.xml new file mode 100644 index 0000000..fb7f4a8 --- /dev/null +++ b/ClientApp/.idea/compiler.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> +  <component name="CompilerConfiguration"> +    <bytecodeTargetLevel target="11" /> +  </component> +</project>
\ No newline at end of file diff --git a/ClientApp/.idea/deploymentTargetDropDown.xml b/ClientApp/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..99c211f --- /dev/null +++ b/ClientApp/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> +  <component name="deploymentTargetDropDown"> +    <targetSelectedWithDropDown> +      <Target> +        <type value="QUICK_BOOT_TARGET" /> +        <deviceKey> +          <Key> +            <type value="VIRTUAL_DEVICE_PATH" /> +            <value value="C:\Users\cirakg\.android\avd\Pixel_3a_API_33_x86_64.avd" /> +          </Key> +        </deviceKey> +      </Target> +    </targetSelectedWithDropDown> +    <timeTargetWasSelectedWithDropDown value="2022-10-20T23:19:46.984982500Z" /> +  </component> +</project>
\ No newline at end of file diff --git a/ClientApp/.idea/gradle.xml b/ClientApp/.idea/gradle.xml new file mode 100644 index 0000000..a2d7c21 --- /dev/null +++ b/ClientApp/.idea/gradle.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> +  <component name="GradleMigrationSettings" migrationVersion="1" /> +  <component name="GradleSettings"> +    <option name="linkedExternalProjectsSettings"> +      <GradleProjectSettings> +        <option name="testRunner" value="GRADLE" /> +        <option name="distributionType" value="DEFAULT_WRAPPED" /> +        <option name="externalProjectPath" value="$PROJECT_DIR$" /> +        <option name="modules"> +          <set> +            <option value="$PROJECT_DIR$" /> +            <option value="$PROJECT_DIR$/app" /> +          </set> +        </option> +      </GradleProjectSettings> +    </option> +  </component> +</project>
\ No newline at end of file diff --git a/ClientApp/.idea/misc.xml b/ClientApp/.idea/misc.xml new file mode 100644 index 0000000..bdd9278 --- /dev/null +++ b/ClientApp/.idea/misc.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> +  <component name="ExternalStorageConfigurationManager" enabled="true" /> +  <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK"> +    <output url="file://$PROJECT_DIR$/build/classes" /> +  </component> +  <component name="ProjectType"> +    <option name="id" value="Android" /> +  </component> +</project>
\ No newline at end of file diff --git a/ClientApp/app/.gitignore b/ClientApp/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/ClientApp/app/.gitignore @@ -0,0 +1 @@ +/build
\ No newline at end of file diff --git a/ClientApp/app/build.gradle b/ClientApp/app/build.gradle new file mode 100644 index 0000000..584bedb --- /dev/null +++ b/ClientApp/app/build.gradle @@ -0,0 +1,56 @@ +plugins { +    id 'com.android.application' +    id 'org.jetbrains.kotlin.android' +} + +android { +    namespace 'com.example.clientapp' +    compileSdk 32 + +    defaultConfig { +        applicationId "com.example.clientapp" +        minSdk 21 +        targetSdk 32 +        versionCode 1 +        versionName "1.0" + +        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" +    } + +    buildTypes { +        release { +            minifyEnabled false +            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' +        } +    } +    compileOptions { +        sourceCompatibility JavaVersion.VERSION_1_8 +        targetCompatibility JavaVersion.VERSION_1_8 +    } +    kotlinOptions { +        jvmTarget = '1.8' +    } +    buildFeatures { +        viewBinding = true +    } +} + +dependencies { + +    implementation 'androidx.core:core-ktx:1.7.0' +    implementation 'androidx.appcompat:appcompat:1.5.1' +    implementation 'com.google.android.material:material:1.6.1' +    implementation 'androidx.constraintlayout:constraintlayout:2.1.4' +    testImplementation 'junit:junit:4.13.2' +    androidTestImplementation 'androidx.test.ext:junit:1.1.3' +    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + + + +    //retrofit2 +    implementation 'com.squareup.retrofit2:retrofit:2.7.2' +    implementation 'com.squareup.retrofit2:converter-gson:2.7.2' + + + +}
\ No newline at end of file diff --git a/ClientApp/app/proguard-rules.pro b/ClientApp/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/ClientApp/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +#   http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +#   public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile
\ No newline at end of file diff --git a/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt b/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..39c5f8e --- /dev/null +++ b/ClientApp/app/src/androidTest/java/com/example/clientapp/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.example.clientapp + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { +    @Test +    fun useAppContext() { +        // Context of the app under test. +        val appContext = InstrumentationRegistry.getInstrumentation().targetContext +        assertEquals("com.example.clientapp", appContext.packageName) +    } +}
\ No newline at end of file diff --git a/ClientApp/app/src/main/AndroidManifest.xml b/ClientApp/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..b8425a1 --- /dev/null +++ b/ClientApp/app/src/main/AndroidManifest.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    xmlns:tools="http://schemas.android.com/tools"> +    <uses-permission android:name="android.permission.INTERNET" /> +    <application +        android:allowBackup="true" +        android:dataExtractionRules="@xml/data_extraction_rules" +        android:fullBackupContent="@xml/backup_rules" +        android:icon="@mipmap/ic_launcher" +        android:label="@string/app_name" +        android:roundIcon="@mipmap/ic_launcher_round" +        android:supportsRtl="true" +        android:theme="@style/Theme.ClientApp" +        tools:targetApi="31" +        android:usesCleartextTraffic="true"> + + +        <activity +            android:name=".MainActivity" +            android:exported="true"> +            <intent-filter> +                <action android:name="android.intent.action.MAIN" /> +                <category android:name="android.intent.category.LAUNCHER" /> +            </intent-filter> +            <meta-data +                android:name="android.app.lib_name" +                android:value="" /> +        </activity> +    </application> + +</manifest>
\ No newline at end of file diff --git a/ClientApp/app/src/main/java/com/example/clientapp/MainActivity.kt b/ClientApp/app/src/main/java/com/example/clientapp/MainActivity.kt new file mode 100644 index 0000000..ce9a717 --- /dev/null +++ b/ClientApp/app/src/main/java/com/example/clientapp/MainActivity.kt @@ -0,0 +1,128 @@ +package com.example.clientapp + +import android.content.Intent +import android.graphics.Bitmap +import android.graphics.BitmapFactory +import android.media.Image +import android.net.Uri +import android.os.Bundle +import android.provider.MediaStore +import android.util.Base64 +import android.util.Log +import androidx.appcompat.app.AppCompatActivity +import com.example.clientapp.data.ImageData +import com.example.clientapp.databinding.ActivityMainBinding +import com.example.clientapp.interfaces.Base_URL +import com.example.clientapp.interfaces.ImageService +import retrofit2.Call +import retrofit2.Callback +import retrofit2.Response +import retrofit2.Retrofit +import retrofit2.converter.gson.GsonConverterFactory +import java.io.ByteArrayOutputStream + + +class MainActivity : AppCompatActivity() { +    private lateinit var binding: ActivityMainBinding +    val PICK_IMAGE = 1 +    override fun onCreate(savedInstanceState: Bundle?) { +        super.onCreate(savedInstanceState) + +        binding=ActivityMainBinding.inflate(layoutInflater) +        setContentView(binding.root) + +        binding.randomImage.setOnClickListener{ +            getRandomImage() +        } + +        binding.addImage.setOnClickListener{ +            addImage() +        } +        getRandomImage() + + + + +    } +    private fun addImage(){ +        val intent = Intent() +        intent.type = "image/*" +        intent.action = Intent.ACTION_GET_CONTENT +        startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE) +    } +    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { +        if (requestCode == PICK_IMAGE && resultCode== RESULT_OK) { +            var imageUri=data?.data +            var base64String=getImageBase64(imageUri!!) +            val image=ImageData("",base64String) +            uploadImage(image) + + +        } +    } + +    private fun getImageBase64(imageUri:Uri):String{ +        var str="" +        val bitmap = MediaStore.Images.Media.getBitmap(contentResolver,imageUri) +        val byteArrayOutputStream = ByteArrayOutputStream() +        bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteArrayOutputStream) +        val byteArray = byteArrayOutputStream.toByteArray() +        str = Base64.encodeToString(byteArray, Base64.DEFAULT) +        return str +    } + + + + +    private fun uploadImage(image:ImageData){ +        val api = Retrofit.Builder() +            .addConverterFactory(GsonConverterFactory.create()) +            .baseUrl(Base_URL) +            .build() +            .create(ImageService::class.java) + +        val data=api.uploadImage(image) +        data.enqueue(object : Callback<ImageData?> { +            override fun onResponse(call: Call<ImageData?>, response: Response<ImageData?>) { + +                val imageBytes = Base64.decode(response.body()!!.image, Base64.DEFAULT) +                val decodedImage = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size) +                binding.randomImageView.setImageBitmap(decodedImage) + +            } + +            override fun onFailure(call: Call<ImageData?>, t: Throwable) { +            } +        }) +    } + + + + + +    private fun getRandomImage() { +        val api = Retrofit.Builder() +            .addConverterFactory(GsonConverterFactory.create()) +            .baseUrl(Base_URL) +            .build() +            .create(ImageService::class.java) + +        val data=api.getRandomImage() +        data.enqueue(object : Callback<ImageData?> { +            override fun onResponse(call: Call<ImageData?>, response: Response<ImageData?>) { + +                val imageBytes = Base64.decode(response.body()!!.image, Base64.DEFAULT) +                val decodedImage = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size) +                binding.randomImageView.setImageBitmap(decodedImage) + +            } + +            override fun onFailure(call: Call<ImageData?>, t: Throwable) { +            } +        }) + + + + +    } +} diff --git a/ClientApp/app/src/main/java/com/example/clientapp/data/ImageData.kt b/ClientApp/app/src/main/java/com/example/clientapp/data/ImageData.kt new file mode 100644 index 0000000..9e1b451 --- /dev/null +++ b/ClientApp/app/src/main/java/com/example/clientapp/data/ImageData.kt @@ -0,0 +1,6 @@ +package com.example.clientapp.data + +data class ImageData ( +    val _id:String, +    val image:String +        )
\ No newline at end of file diff --git a/ClientApp/app/src/main/java/com/example/clientapp/interfaces/ImageApiInterface.kt b/ClientApp/app/src/main/java/com/example/clientapp/interfaces/ImageApiInterface.kt new file mode 100644 index 0000000..0a3b826 --- /dev/null +++ b/ClientApp/app/src/main/java/com/example/clientapp/interfaces/ImageApiInterface.kt @@ -0,0 +1,16 @@ +package com.example.clientapp.interfaces + +import com.example.clientapp.data.ImageData +import retrofit2.Call +import retrofit2.http.Body +import retrofit2.http.GET +import retrofit2.http.POST + +const val Base_URL="http://10.0.2.2:5276" + +interface ImageService { +    @GET("/api/Image") +    fun getRandomImage():Call<ImageData> +    @POST("/api/Image") +    fun uploadImage(@Body obj:ImageData):Call<ImageData> +}
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/ClientApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/ClientApp/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" +    xmlns:aapt="http://schemas.android.com/aapt" +    android:width="108dp" +    android:height="108dp" +    android:viewportWidth="108" +    android:viewportHeight="108"> +    <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> +        <aapt:attr name="android:fillColor"> +            <gradient +                android:endX="85.84757" +                android:endY="92.4963" +                android:startX="42.9492" +                android:startY="49.59793" +                android:type="linear"> +                <item +                    android:color="#44000000" +                    android:offset="0.0" /> +                <item +                    android:color="#00000000" +                    android:offset="1.0" /> +            </gradient> +        </aapt:attr> +    </path> +    <path +        android:fillColor="#FFFFFF" +        android:fillType="nonZero" +        android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" +        android:strokeWidth="1" +        android:strokeColor="#00000000" /> +</vector>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/drawable/ic_launcher_background.xml b/ClientApp/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/ClientApp/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" +    android:width="108dp" +    android:height="108dp" +    android:viewportWidth="108" +    android:viewportHeight="108"> +    <path +        android:fillColor="#3DDC84" +        android:pathData="M0,0h108v108h-108z" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M9,0L9,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,0L19,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M29,0L29,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M39,0L39,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M49,0L49,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M59,0L59,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M69,0L69,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M79,0L79,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M89,0L89,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M99,0L99,108" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,9L108,9" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,19L108,19" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,29L108,29" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,39L108,39" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,49L108,49" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,59L108,59" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,69L108,69" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,79L108,79" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,89L108,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M0,99L108,99" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,29L89,29" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,39L89,39" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,49L89,49" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,59L89,59" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,69L89,69" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M19,79L89,79" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M29,19L29,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M39,19L39,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M49,19L49,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M59,19L59,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M69,19L69,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +    <path +        android:fillColor="#00000000" +        android:pathData="M79,19L79,89" +        android:strokeWidth="0.8" +        android:strokeColor="#33FFFFFF" /> +</vector> diff --git a/ClientApp/app/src/main/res/layout/activity_main.xml b/ClientApp/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..b69623b --- /dev/null +++ b/ClientApp/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +    xmlns:app="http://schemas.android.com/apk/res-auto" +    xmlns:tools="http://schemas.android.com/tools" +    android:id="@+id/rl_layout" +    android:layout_width="match_parent" +    android:layout_height="match_parent" +    tools:context=".MainActivity" +    android:background="@color/black"> + + +    <TextView +        android:layout_width="wrap_content" +        android:layout_height="wrap_content" +        android:text="Random Image" +        android:textColor="@color/white" +        android:textSize="54px" +        android:layout_centerHorizontal="true" +        /> + +    <com.google.android.material.floatingactionbutton.FloatingActionButton +        android:id="@+id/randomImage" +        android:layout_width="wrap_content" +        android:layout_height="wrap_content" +        android:layout_alignParentEnd="true" +        android:layout_alignParentBottom="true" +        android:layout_margin="26dp" +        android:backgroundTint="#FFFFFF" +        android:clickable="true" +        android:focusable="true" +        android:tint="#FFFFFF" +        app:rippleColor="#FFFFFF" +        app:srcCompat="@android:drawable/stat_notify_sync" /> + + +    <com.google.android.material.floatingactionbutton.FloatingActionButton +        android:id="@+id/addImage" +        android:layout_width="90dp" +        android:layout_height="91dp" +        android:layout_alignParentStart="true" +        android:layout_alignParentBottom="true" +        android:layout_margin="26dp" +        android:backgroundTint="#FFFFFF" +        android:clickable="true" +        android:focusable="true" +        android:tint="#FFFFFF" +        app:rippleColor="#FFFFFF" +        app:srcCompat="@android:drawable/ic_input_add" /> + +    <ImageView +        android:id="@+id/randomImageView" +        android:layout_width="match_parent" +        android:layout_height="match_parent" +        android:layout_centerInParent="true" +        android:layout_marginStart="0dp" +        android:layout_marginTop="0dp" +        android:layout_marginEnd="0dp" +        android:layout_marginBottom="0dp" +        android:scaleType="fitCenter" /> + +</RelativeLayout>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> +    <background android:drawable="@drawable/ic_launcher_background" /> +    <foreground android:drawable="@drawable/ic_launcher_foreground" /> +</adaptive-icon>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> +    <background android:drawable="@drawable/ic_launcher_background" /> +    <foreground android:drawable="@drawable/ic_launcher_foreground" /> +</adaptive-icon>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher.webpBinary files differ new file mode 100644 index 0000000..c209e78 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher.webp diff --git a/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.webpBinary files differ new file mode 100644 index 0000000..b2dfe3d --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp diff --git a/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher.webpBinary files differ new file mode 100644 index 0000000..4f0f1d6 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher.webp diff --git a/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.webpBinary files differ new file mode 100644 index 0000000..62b611d --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp diff --git a/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher.webpBinary files differ new file mode 100644 index 0000000..948a307 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher.webp diff --git a/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webpBinary files differ new file mode 100644 index 0000000..1b9a695 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp diff --git a/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.webpBinary files differ new file mode 100644 index 0000000..28d4b77 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp diff --git a/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webpBinary files differ new file mode 100644 index 0000000..9287f50 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp diff --git a/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webpBinary files differ new file mode 100644 index 0000000..aa7d642 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp diff --git a/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webpBinary files differ new file mode 100644 index 0000000..9126ae3 --- /dev/null +++ b/ClientApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp diff --git a/ClientApp/app/src/main/res/values-night/themes.xml b/ClientApp/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..8c329c2 --- /dev/null +++ b/ClientApp/app/src/main/res/values-night/themes.xml @@ -0,0 +1,16 @@ +<resources xmlns:tools="http://schemas.android.com/tools"> +    <!-- Base application theme. --> +    <style name="Theme.ClientApp" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> +        <!-- Primary brand color. --> +        <item name="colorPrimary">@color/purple_200</item> +        <item name="colorPrimaryVariant">@color/purple_700</item> +        <item name="colorOnPrimary">@color/black</item> +        <!-- Secondary brand color. --> +        <item name="colorSecondary">@color/teal_200</item> +        <item name="colorSecondaryVariant">@color/teal_200</item> +        <item name="colorOnSecondary">@color/black</item> +        <!-- Status bar color. --> +        <item name="android:statusBarColor">?attr/colorPrimaryVariant</item> +        <!-- Customize your theme here. --> +    </style> +</resources>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/values/colors.xml b/ClientApp/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/ClientApp/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> +    <color name="purple_200">#FFBB86FC</color> +    <color name="purple_500">#FF6200EE</color> +    <color name="purple_700">#FF3700B3</color> +    <color name="teal_200">#FF03DAC5</color> +    <color name="teal_700">#FF018786</color> +    <color name="black">#FF000000</color> +    <color name="white">#FFFFFFFF</color> +</resources>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/values/strings.xml b/ClientApp/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..34f0ab2 --- /dev/null +++ b/ClientApp/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ +<resources> +    <string name="app_name">ClientApp</string> +</resources>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/values/themes.xml b/ClientApp/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..ce8d181 --- /dev/null +++ b/ClientApp/app/src/main/res/values/themes.xml @@ -0,0 +1,16 @@ +<resources xmlns:tools="http://schemas.android.com/tools"> +    <!-- Base application theme. --> +    <style name="Theme.ClientApp" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> +        <!-- Primary brand color. --> +        <item name="colorPrimary">@color/purple_500</item> +        <item name="colorPrimaryVariant">@color/purple_700</item> +        <item name="colorOnPrimary">@color/white</item> +        <!-- Secondary brand color. --> +        <item name="colorSecondary">@color/teal_200</item> +        <item name="colorSecondaryVariant">@color/teal_700</item> +        <item name="colorOnSecondary">@color/black</item> +        <!-- Status bar color. --> +        <item name="android:statusBarColor">?attr/colorPrimaryVariant</item> +        <!-- Customize your theme here. --> +    </style> +</resources>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/xml/backup_rules.xml b/ClientApp/app/src/main/res/xml/backup_rules.xml new file mode 100644 index 0000000..fa0f996 --- /dev/null +++ b/ClientApp/app/src/main/res/xml/backup_rules.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?><!-- +   Sample backup rules file; uncomment and customize as necessary. +   See https://developer.android.com/guide/topics/data/autobackup +   for details. +   Note: This file is ignored for devices older that API 31 +   See https://developer.android.com/about/versions/12/backup-restore +--> +<full-backup-content> +    <!-- +   <include domain="sharedpref" path="."/> +   <exclude domain="sharedpref" path="device.xml"/> +--> +</full-backup-content>
\ No newline at end of file diff --git a/ClientApp/app/src/main/res/xml/data_extraction_rules.xml b/ClientApp/app/src/main/res/xml/data_extraction_rules.xml new file mode 100644 index 0000000..9ee9997 --- /dev/null +++ b/ClientApp/app/src/main/res/xml/data_extraction_rules.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?><!-- +   Sample data extraction rules file; uncomment and customize as necessary. +   See https://developer.android.com/about/versions/12/backup-restore#xml-changes +   for details. +--> +<data-extraction-rules> +    <cloud-backup> +        <!-- TODO: Use <include> and <exclude> to control what is backed up. +        <include .../> +        <exclude .../> +        --> +    </cloud-backup> +    <!-- +    <device-transfer> +        <include .../> +        <exclude .../> +    </device-transfer> +    --> +</data-extraction-rules>
\ No newline at end of file diff --git a/ClientApp/app/src/test/java/com/example/clientapp/ExampleUnitTest.kt b/ClientApp/app/src/test/java/com/example/clientapp/ExampleUnitTest.kt new file mode 100644 index 0000000..e43b4a2 --- /dev/null +++ b/ClientApp/app/src/test/java/com/example/clientapp/ExampleUnitTest.kt @@ -0,0 +1,17 @@ +package com.example.clientapp + +import org.junit.Test + +import org.junit.Assert.* + +/** + * Example local unit test, which will execute on the development machine (host). + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +class ExampleUnitTest { +    @Test +    fun addition_isCorrect() { +        assertEquals(4, 2 + 2) +    } +}
\ No newline at end of file diff --git a/ClientApp/build.gradle b/ClientApp/build.gradle new file mode 100644 index 0000000..c518bc1 --- /dev/null +++ b/ClientApp/build.gradle @@ -0,0 +1,6 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +plugins { +    id 'com.android.application' version '7.3.0' apply false +    id 'com.android.library' version '7.3.0' apply false +    id 'org.jetbrains.kotlin.android' version '1.7.10' apply false +}
\ No newline at end of file diff --git a/ClientApp/gradle.properties b/ClientApp/gradle.properties new file mode 100644 index 0000000..3c5031e --- /dev/null +++ b/ClientApp/gradle.properties @@ -0,0 +1,23 @@ +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official +# Enables namespacing of each library's R class so that its R class includes only the +# resources declared in the library itself and none from the library's dependencies, +# thereby reducing the size of the R class for that library +android.nonTransitiveRClass=true
\ No newline at end of file diff --git a/ClientApp/gradle/wrapper/gradle-wrapper.jar b/ClientApp/gradle/wrapper/gradle-wrapper.jarBinary files differ new file mode 100644 index 0000000..e708b1c --- /dev/null +++ b/ClientApp/gradle/wrapper/gradle-wrapper.jar diff --git a/ClientApp/gradle/wrapper/gradle-wrapper.properties b/ClientApp/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..7198f28 --- /dev/null +++ b/ClientApp/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Thu Oct 20 23:44:41 CEST 2022 +distributionBase=GRADLE_USER_HOME +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionPath=wrapper/dists +zipStorePath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME diff --git a/ClientApp/gradlew b/ClientApp/gradlew new file mode 100644 index 0000000..4f906e0 --- /dev/null +++ b/ClientApp/gradlew @@ -0,0 +1,185 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +#      https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +##  Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do +    ls=`ls -ld "$PRG"` +    link=`expr "$ls" : '.*-> \(.*\)$'` +    if expr "$link" : '/.*' > /dev/null; then +        PRG="$link" +    else +        PRG=`dirname "$PRG"`"/$link" +    fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { +    echo "$*" +} + +die () { +    echo +    echo "$*" +    echo +    exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in +  CYGWIN* ) +    cygwin=true +    ;; +  Darwin* ) +    darwin=true +    ;; +  MINGW* ) +    msys=true +    ;; +  NONSTOP* ) +    nonstop=true +    ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then +    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +        # IBM's JDK on AIX uses strange locations for the executables +        JAVACMD="$JAVA_HOME/jre/sh/java" +    else +        JAVACMD="$JAVA_HOME/bin/java" +    fi +    if [ ! -x "$JAVACMD" ] ; then +        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +    fi +else +    JAVACMD="java" +    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then +    MAX_FD_LIMIT=`ulimit -H -n` +    if [ $? -eq 0 ] ; then +        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then +            MAX_FD="$MAX_FD_LIMIT" +        fi +        ulimit -n $MAX_FD +        if [ $? -ne 0 ] ; then +            warn "Could not set maximum file descriptor limit: $MAX_FD" +        fi +    else +        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" +    fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then +    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then +    APP_HOME=`cygpath --path --mixed "$APP_HOME"` +    CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + +    JAVACMD=`cygpath --unix "$JAVACMD"` + +    # We build the pattern for arguments to be converted via cygpath +    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` +    SEP="" +    for dir in $ROOTDIRSRAW ; do +        ROOTDIRS="$ROOTDIRS$SEP$dir" +        SEP="|" +    done +    OURCYGPATTERN="(^($ROOTDIRS))" +    # Add a user-defined pattern to the cygpath arguments +    if [ "$GRADLE_CYGPATTERN" != "" ] ; then +        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" +    fi +    # Now convert the arguments - kludge to limit ourselves to /bin/sh +    i=0 +    for arg in "$@" ; do +        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` +        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option + +        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition +            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` +        else +            eval `echo args$i`="\"$arg\"" +        fi +        i=`expr $i + 1` +    done +    case $i in +        0) set -- ;; +        1) set -- "$args0" ;; +        2) set -- "$args0" "$args1" ;; +        3) set -- "$args0" "$args1" "$args2" ;; +        4) set -- "$args0" "$args1" "$args2" "$args3" ;; +        5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; +        6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; +        7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; +        8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; +        9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; +    esac +fi + +# Escape application args +save () { +    for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done +    echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git a/ClientApp/gradlew.bat b/ClientApp/gradlew.bat new file mode 100644 index 0000000..107acd3 --- /dev/null +++ b/ClientApp/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem      https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem  Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/ClientApp/settings.gradle b/ClientApp/settings.gradle new file mode 100644 index 0000000..34f65c4 --- /dev/null +++ b/ClientApp/settings.gradle @@ -0,0 +1,16 @@ +pluginManagement { +    repositories { +        gradlePluginPortal() +        google() +        mavenCentral() +    } +} +dependencyResolutionManagement { +    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) +    repositories { +        google() +        mavenCentral() +    } +} +rootProject.name = "ClientApp" +include ':app' | 
