How can I deploy a .NET application that uses ODAC without installing the whole component to the user?
I'm not sure whether your concern is about having to install the Oracle client in addition to the ~50 MB ODAC install or just the standalone ODAC.
If the concern is about having to install the Oracle client and the ODAC, you can use the Oracle Instant Client? That's the smallest footprint method for installing the Oracle client. You'll also need the ODAC xcopy supplement.
If your concern is just the ODAC install, I don't think there is a smaller footprint available.
How to deploy Entity Framework with Oracle ODAC 12 on WS2012 just copying DLLs
I'm not sure about the installation options for ODAC in a server environment. I know you need the Transaction module only if you're using TransactionScope in your code.
The problem you're seeing from not being able to find the provider is because Oracle changed the provider name from Oracle.DataAccess.Client
to Oracle.ManagedDataAccess.Client
with the 12c bits.
You need to change this in both the connection strings and in the SSDL section of the EDMX file: you will go from
<edmx:StorageModels>
<Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.DataAccess.Client" (...)
to
<edmx:StorageModels>
<Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.ManagedDataAccess.Client" (...)
Deploy ROR application to a machine without internet access
You can do bundle package
to package the gems (in a machine with internet) and copy over.
You can then install local gems using bundler:
bundle install --local
Not that you could get bundle gem itself by doing:
gem install --local bundle.gem
where bundle.gem
is obtained using gem fetch bundler
.
Related Topics
C# - How to Make Two Forms Reference Each Other
Copying Free Hand Drawing from Panel in Visual Studio 2013
Open a Folder Using Process.Start
Blocking Access to Private Member Variables? Force Use of Public Properties
How to Interact with Windows Media Player in C#
Unique Ways to Use the Null Coalescing Operator
Working with C# Anonymous Types
Sending Sms from an ASP.NET Website
Do I Have to Close() a SQLconnection Before It Gets Disposed
Total Number of Items Defined in an Enum
What Does Linq Return When the Results Are Empty
How to Use Async to Increase Winforms Performance
Is There a C# Type for Representing an Integer Range
How to Click on the Radio Button Through the Element Id Attribute Using Selenium and C#
How to Create "Embedded" SQL 2008 Database File If It Doesn't Exist
Combining Datatemplates at Runtime