Can I read content using Tridion Content delivery API in ASP.net Application from my local machine and debug, if not How delivery framework DD4T was able to connect the broker? Is any authentication happening using the license file? How we used to develop ASP.NET and MVC applications before we have DD4T?
Can I read content using Tridion Content delivery API in ASP.net Application from my local machine and debug
1Prasanna, it sounds like you have more than one question here and perhaps could use a training session on this stuff. Have a look through Trivident's blogs on the DD4T topics, the SDL Tridion documentation and other community blogs such as tridiondeveloper.com. If you'd like to have a general/open discussion about these topics, the Meta section here would be more appropriate.– Nickoli RoussakovJul 15, 2016 at 19:41
@Nickoli, I agree that I posted many questions,I looked documenation which gave some idea, thanks.– Prasanna K GollamudiJul 16, 2016 at 19:58
As @Nickoli already suggested, the question is too broad. Seems you have just started using Tridion so I would like to give a high level answer. You can take that as starting point and go through the documentation and then ask only specific question.
Can I read content using Tridion Content delivery API in ASP.net Application from my local machine and debug:
Yes, you can. you will be able to debug the asp.net application however you wont be able to debug the content delivery calls.
The process used by content delivery api to read the content is as follows:
- In your application you will have to store tridion configs and one of the config is cd_storage_conf.xml which has details of which broker database to connect.
- Also, while retrieving data content delivery dlls will internally invoke the license check. So you must have valid license.
How we used to develop ASP.NET and MVC applications before we have DD4T?
DD4T has two parts: Publishing and presentation:
Publishing is set of TBBs which are used to transform the content in formatted xml / json. After content is published, on read presentation portion of DD4T helps you convert xml / json into the models which MVC application can use easily. Before DD4T, you will have two options:
- Write dreamweaver tbbs or something similar that will generate html on publish so you will have html pages readily available on delivery. (you can use this option in lieu of DD4T also.)
- If you need MVC based implementation the you will have to implement your own version of functionality that will format the data that can be easily converted to models. Since, DD4T is available, you can directly use it.