problem solved.
(I recreated a sample console project for stevenmunoz, it solved his solution)
If needed, ask the sample :)
Injection was not correctly done.
Read this document : <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Dependency-Injection">http://www.aspnetboilerplate.com/Pages/ ... -Injection</a>
be sure that your AppService is deriving from IApplicationService if it's a normal class, you could use ITransientDependency (or singleton) if your repository depends on a db, derive your context from AbpDbContext
Hi there.
i'm using nuget package : <a class="postlink" href="https://www.nuget.org/packages/Oracle.ManagedDataAccess.EntityFramework/">https://www.nuget.org/packages/Oracle.M ... Framework/</a> \packages\Oracle.ManagedDataAccess.EntityFramework.12.1.022\lib\net45\Oracle.ManagedDataAccess.EntityFramework.dll
my target (any cpu) is x64, but nuget package automatically choose the version for you. My oracle version : Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
I don't see anything wrong with your screenshot.
In one of my previous posts #124@38ccb987-2803-4dd5-ae63-c383ec88317b you can see the correct .config file.
Could you verify if your config file is ok (even if ti's not relevant to the name too long), and using the nuget instead the downloadable sources ?
If it still not work, i'll provide you an example running on my oracle with your domain.
I'm also using abp with odp.net.
I can confirm you that all tables in your picture could be reached without problem.
I've no problem on my side.
Could you paste the full detailed exception ? (with the specific identifier)
There is no breaking/major change between 0.6.3.1 & 0.6.4.1, I think.
Then, you can just update nuget package depedencies in the downloaded Template tà 0.6.4.1 & it will be the same :)
(but yep; Template will be updated I guess)
This error is too much generic to help us understand :)
Can you provide the error contained in your log file ? (stored in your app folder)
It's propably somewhere in your code where you call the database (or a dataset retrieved from the database) and that you are out of the unit of work (context of db).
Is is just happening when publish in IIS, or also in debug mode on your desktop ? Are you sure your db provider on the IIS machin is well configured ?
related to this thread : #98@4093f0ea-48b2-4b75-8a9d-2bb7da9552e3 & this one <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/13">https://github.com/aspnetboilerplate/mo ... /issues/13</a>
I don't think it's fully implemented yet but it's planned.
searching on gitHub <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/search?utf8=%E2%9C%93&q=WhereIf">https://github.com/aspnetboilerplate/as ... &q=WhereIf</a>
the third example could maybe help you.
What do you mean by "generate ASP.NET Boilerplate Framework offline" ?
ABP Framework sources are on gitHub and compiled version of Framework is available by nuget packages.
If you mean the default startup project, there is no (yet) generator in VisualStudio. Starting your new app could be easy made downloading an empty structure here of ABP from here <a class="postlink" href="http://www.aspnetboilerplate.com/Templates">http://www.aspnetboilerplate.com/Templates</a>
I'm not sure to understand but if you want to use claims authorization on your webAPI calls, you should not inject [Authorize] on WebAPI Project but in each method of Services that implements "IApplicationService".
Something like :
public class TesttAppService : ApplicationService, ITestAppService
{
// repositories ...
// Constructor ...
#region Functions
[AbpAuthorize]
public List<string> GetValues(SearchDto Search)
{
...
return values;
}
doc here <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Authorization">http://www.aspnetboilerplate.com/Pages/ ... horization</a>