Uniform Interface

Total Page:16

File Type:pdf, Size:1020Kb

Uniform Interface www.allitebooks.com www.allitebooks.com RESTful .NET www.allitebooks.com Other Microsoft .NET resources from O’Reilly Related titles Learning C# 3.0 Programming WCF Services Learning WCF RESTful Web Services Programming C# 3.0 .NET Books dotnet.oreilly.com is a complete catalog of O’Reilly’s books on Resource Center .NET and related technologies, including sample chapters and code examples. ONDotnet.com provides independent coverage of fundamental, interoperable, and emerging Microsoft .NET programming and web services technologies. Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries. We specialize in document- ing the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. Visit conferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online refer- ence library for programmers and IT professionals. Conduct searches across more than 1,000 books. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Bookshelf from cover to cover or sim- ply flip to the page you need. Try it today for free. www.allitebooks.com RESTful .NET Jon Flanders Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo www.allitebooks.com RESTful .NET by Jon Flanders Copyright © 2009 Jon Flanders. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/ institutional sales department: (800) 998-9938 or [email protected]. Editor: John Osborn Indexer: Lucie Haskins Production Editor: Sumita Mukherji Cover Designer: Karen Montgomery Copyeditors: Amy Thomson and Audrey Doyle Interior Designer: David Futato Proofreader: Emily Quill Illustrator: Robert Romano Printing History: November 2008: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. RESTful .NET, the image of an electric catfish, and related trade dress are trademarks of O’Reilly Media, Inc. .NET is a registered trademark of Microsoft Corporation. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. ISBN: 978-0-596-51920-9 [M] 1226506094 www.allitebooks.com Table of Contents Foreword . ix Preface . xi 1. REST Basics . 1 Architecture of the World Wide Web 1 SOAP 4 REST 5 Resources and URIs 5 Uniform Interface 7 Resource Representations 9 Implementing a Simple RESTful Service Example 11 Resources 11 URIs and Uniform Interface 11 Representations 12 Interaction 13 Wrap-Up 14 Processes 16 Summary 16 2. WCF RESTful Programming Model . 19 Isn’t WCF All About SOAP? 19 Channels and Dispatching 19 HTTP Programming with WCF 3.0 22 Web Programming in WCF 3.5 27 WebHttpBinding 30 WebHttpBehavior 30 WebServiceHost 31 WebOperationContext 31 WebGetAttribute 32 UriTemplate 33 UriTemplate Literal Values 42 v www.allitebooks.com UriTemplate Special Values 43 UriTemplate QueryString 43 Summary 44 3. Programming Read-Only Services . 47 Using WebGetAttribute and UriTemplate 47 Data Formats 49 Message 50 DataContract 52 XmlSerializer 55 Hybrid Approach 57 Summary 58 4. Programming Read/Write Services . 59 POST, PUT, and DELETE 59 Using WebInvokeAttribute 60 Resources 60 URIs and Uniform Interface 60 Representations 61 Implementation 61 Summary 71 5. Hosting WCF RESTful Services . 73 WCF REST Hosting Isn’t a Special Case 73 Self-Hosting 74 Configuring, Opening, and Closing a ServiceHost 74 Base Addresses 79 ServiceHost Versus WebServiceHost 80 Custom ServiceHost 84 Hosting in IIS 86 ASP.NET Compatibility 92 Multiple Hostnames 95 Removing the .svc File Extension 96 Custom ServiceHostFactory 98 Hosting Wrap-Up 99 Summary 99 6. Programming Feeds . 101 Building a Feed with WCF 101 SyndicationItem 105 Formatters 107 Exposing a Feed on a Live URI 110 Feed Validation 111 vi | Table of Contents www.allitebooks.com Adding Links to a Feed 115 Summary 117 7. Programming Ajax and Silverlight Clients . 119 WCF Web Services and Ajax 120 JSON 123 JSON-Enabling a Service Endpoint 127 ASP.NET Ajax 132 Silverlight 1.0 141 Silverlight 2.0 142 Parsing XML in Silverlight 2.0 144 Parsing JSON in Silverlight 2.0 151 Consuming Feeds in Silverlight 2.0 152 Cross-Domain Security in Silverlight 2.0 154 Returning JSON and XML Conditionally with a Single Method 154 Summary 157 8. Securing REST Endpoints . 159 Authenticating: Self-Hosted Endpoints 159 Setting Endpoint Security: WebHttpBinding.Security’s Mode Property 161 Setting Authentication Requirements: WebHttpBinding’s Transport Property 165 Authenticating: Managed Hosting Endpoints 169 Authorizing Endpoints 170 Authorization with Impersonation 170 Role-Based Authorization 171 Summary 174 9. Using Workflow to Deliver REST Services . 175 Consuming REST Services from WF 175 The SendActivity Instance 176 The ReceiveActivity Instance 181 Stateless Workflow Services 182 Stateful Workflow Services 189 Summary 193 10. Consuming RESTful XML Services Using WCF . 195 Defining the Client 195 Generating the Contract 197 Creating the Resource Representations 199 Creating the ServiceContract 207 Using the Service 209 Client Extensibility 214 Table of Contents | vii www.allitebooks.com Summary 216 11. Working with HTTP . 217 Programming HTTP with WCF 217 IncomingWebRequestContext 219 OutgoingWebResponseContext 220 OutgoingWebRequestContext 222 IncomingWebResponseContext 223 Context Wrap-Up 223 Status Codes 224 201 — Created 227 404 — Not Found 229 Conditional GET 231 LastModified 232 ETags 236 Caching 239 Output Caching 239 HttpContext.Cache 241 Content-Type 242 Summary 243 A. WCF 3.5 SP1 . 245 B. ADO.NET Data Services . 257 C. ADO.NET Entity Framework Walkthrough . 273 Index . 279 viii | Table of Contents www.allitebooks.com Foreword I’m an RPC guy in my bones. I spent years of my life working with various remote procedure call technologies, so when SOAP came along, it seemed like the obvious next step on this path. To me, web services meant SOAP, period. Then REST appeared. When the RESTful approach first hit the scene, I wrote a short article describing it. At the end, I noted SOAP’s broad support, then closed with this: Still, even though SOAP is already quite well established, the ideas embodied in REST are worth understanding. Web services are still new, and REST makes a remarkably interesting contribution to the technology. For a SOAP guy in 2002, I thought I was being quite open-minded. The REST fans didn’t see it this way. My inbox sizzled with mail telling me that I was stupid for not immediately seeing REST’s innate superiority over the pure evil that was SOAP. My response was to completely ignore REST for the next several years. I didn’t write about it, I didn’t speak about it, and I wouldn’t even take questions on the topic during talks on web services. I was convinced that REST was the religion of a small band of fanatics, and rude ones at that. The common appellation for a REST fan— RESTafarian—seemed very appropriate to me, derived as it was from the name of an actual religion. These people were true believers, and I couldn’t share their faith. Yet REST was too cool to ignore forever. Once you get your mind around the approach (which doesn’t take long—it’s simple), REST’s beauty is evident. More important, REST’s utility is also evident. While SOAP and the WS-* protocols still have a significant role, REST is useful in many, many situations. To one degree or another, we’re all RESTafarians now. There’s no better evidence of this than Microsoft’s embrace of REST in Windows Communication Foundation (WCF). While it’s wrong to view this as marking the end of SOAP, WCF’s REST support is a big endorsement from what was once the strongest bunch of SOAP advocates. Developers now have a single foundation on which to build all kinds of web services. But while REST is simple, WCF is not. To really understand and exploit this part of WCF requires a knowledgeable and experienced guide. I don’t know anybody who’s ix better suited to this role than Jon Flanders. Along with being one of the smartest people I know, and one of the most capable developers, Jon is first-rate at explaining compli- cated things. Even to a long-time RPC guy like me, it’s clear that RESTful services will be a big part of the future. This book is the best introduction I’ve seen to creating and using these services with WCF. If you’re a WCF developer looking to enter the RESTful world, this book is for you. —David Chappell Chappell & Associates x | Foreword Preface I’ve been working with the Web throughout my entire software engineering career. I started out writing ASP pages and COM components. I then moved into the world of .NET with ASP.NET and ASMX web services. In 2004, I got involved with BizTalk Server, which pushed me even more into the world of services and XML. I worked with Windows Communication Foundation (WCF) in its early beta stages, before its release in 2007. At that time, the Microsoft world of services was focused on service-oriented architecture (SOA), SOAP, and the WS-* specifications as the preferred methods for building services.
Recommended publications
  • Chapter One Introduction
    CHAPTER ONE INTRODUCTION 1.1 Project Overview The lubricant sub-sector of the downstream industry is one with so many potential that is capable of being a major source of revenue earner for the country, and has grown over the years with increase in the number of second hand passenger and commercial vehicles in the country calling for more frequent lubricant changes. Though Nigeria has an installed lubricant capacity of 600, 000 metric tonnes the current demand is 700 million litres which is about 1% of global demand. The lubricants market is driven by various steps being taken by government such as initiatives to increase the ease of doing business to boost manufacturing sector activities and the Nigeria Economic Recovery and Growth Plan (ERGP) to emphasize investment in infrastructure. With the increase of import duty on finished lubricants to 30% and the recent 7.5 percent VAT on finished lubes in the country, the sectors have been opened up for further investment and the proposed project considered in this study is set to explore the given opportunity. Though there are presently 34 lube blending plants in Nigeria, only two of these (5.9%) are located in the south- south region of the country (DPR, 2020). This proposed lubricating oil blending plant project by Eraskon Nigeria Ltd is thus a private effort to support the government of Nigeria on how local production of lubricant can be increased to boost its domestic availability especially in the south-south region of the country. 1.2 Project Proponent Eraskon Nigeria Limited is a lubricant oil manufacturing company incorporated in Nigeria by the Corporate Affairs Commission (CAC) with RC No.
    [Show full text]
  • Desempeño Biológico De Juveniles De Totoaba Macdonaldi Aclimatados A
    Centro de Investigación Científica y de Educación Superior de Ensenada, Baja California Doctorado en Ciencias en Acuicultura Desempeño biológico de juveniles de Totoaba macdonaldi aclimatados a diferentes temperaturas y alimentados con distintos niveles de inclusión de harina de soya en la dieta Tesis para cubrir parcialmente los requisitos necesarios para obtener el grado de Doctor en Ciencias Presenta: Eloy Eduardo Yen Ortega Ensenada, Baja California, México 2020 Tesis defendida por Eloy Eduardo Yen Ortega y aprobada por el siguiente Comité Dra. Mónica Hernández Rodríguez Dr. Juan Gabriel Correa Reyes Codirectora de tesis Codirector de tesis Miembros del comité Dra. Ma. del Refugio González Esparza Dr. Benjamín Barón Sevilla Dr. Daniel Badillo Zapata _____________________________________ Dra. Fabiola Lafarga De la Cruz Cordinadora del posgrado en Acuicultura ____________________________________ Dra. Rufina Hernández Martínez Directora de estudios de Posgrado Eloy Eduardo Yen Ortega © 2020 Queda prohibida la reproducción parcial o total de esta obra sin el permiso formal y explícito del autor y director de la tesis ii Resumen de la tesis que presenta Eloy Eduardo Yen Ortega como requisito parcial para la obtención del grado de Doctor en Ciencias en Acuicultura. Desempeño biológico de juveniles de Totoaba macdonaldi aclimatados a diferentes temperaturas y alimentados con distintos niveles de inclusión de harina de soya en la dieta Resumen aprobado por: Dra. Mónica Hernández Rodríguez Dr. Juan Gabriel Correa Reyes Codirectora de tesis Codirector de tesis En el presente trabajo se evaluaron los parámetros de crecimiento, índices productivos, la composición de ácidos grasos en el músculo, los parámetros sanguíneos, la preferencia térmica y la resistencia térmica de juveniles de Totoaba macdonaldi en respuesta a la temperatura de aclimatación (23, 26 y 29 °C) y al remplazo del 32, 43 y 56% de la harina de pescado (HP) por harina de soya (HS) en la dieta.
    [Show full text]
  • Fish Diversity, Community Structure, Feeding Ecology, and Fisheries of Lower Omo River and the Ethiopian Part of Lake Turkana, East Africa
    Fish Diversity, Community Structure, Feeding Ecology, and Fisheries of Lower Omo River and the Ethiopian Part of Lake Turkana, East Africa Mulugeta Wakjira Addis Ababa University June 2016 Cover photos: Lower Omo River at Omorate town about 50 km upstream of the delta (upper photo); Lake Turkana from Ethiopian side (lower photo). © Mulugeta Wakjira and Abebe Getahun Fish diversity, Community structure, Feeding ecology, and Fisheries of lower Omo River and the Ethiopian part of Lake Turkana, East Africa Mulugeta Wakjira A Thesis Submitted to the Department of Zoological Sciences, Addis Ababa University, Presented in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Biology (Fisheries and Aquatic Sciences) June 2016 ADDIS ABABA UNIVERSITY SCHOOL OF GRADUATE PROGRAM This is to certify that the thesis prepared by Mulugeta Wakjira entitled, "Fish Diversity, Community Structure, Feeding Ecology, and Fisheries of lower Omo River and the Ethiopian part of Lake Turkana, East Africa", and submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Biology (Fisheries and Aquatic Science) complies with the regulations of the university and meets the accepted standards with respect to originality and quality. Signed by the Examining Committee Examiner (external): Dr. Leo Nagelkerke Signature ____________ Date_________ Examiner (internal): Dr. Elias Dadebo Signature ____________ Date_________ Advisor: Dr. Abebe Getahun Signature ____________ Date__________ ____________________________________________________________ Chair of Department or Graduate Program Coordinator Abstract Ethiopia has a freshwater system in nine major drainage basins which fall into four ichthyofaunal provinces and one subprovince. Omo-Turkana Basin, spanning considerable geographic area in southwestern Ethiopia and northern Kenya, essentially consists of Omo River (also known as Omo-Gibe) and Lake Turkana.
    [Show full text]
  • Malapterurus Minjiriya ERSS
    Malapterurus minjiriya (a catfish, no common name) Ecological Risk Screening Summary U.S. Fish & Wildlife Service, February 2012 Revised, July 2018, August 2018 Web Version, 8/31/2018 1 Native Range and Status in the United States Native Range From Froese and Pauly (2018): “Africa: known from Niger River [Mali, Nigeria] and Volta River system [Burkina Faso, Ghana, Togo] [Norris 2002, 2003]. Also in the White Nile (Barro and Alvero Rivers) [Ethiopia], and Omo River [Ethiopia]; possibly also in Chad and Senegal basins but has not been collected here [Norris 2002].” “[In Nigeria:] Occurs in the middle [Norris 2002, 2003] and lower Niger [Olaosebikan and Raji 1998; Norris 2002] and the Niger delta [Norris 2003], including the rivers Sokoto, Rima, Nun, Benue and Taraba [Norris 2002], and in lakes Kainji [Olaosebikan and Raji 1998; Norris 2002] and Okoso [Norris 2002]. Type locality: Lake Kainji [Eschmeyer 1998].” According to Olaosebikan and Lalèyè (2010), Malapterpurus mijiriya is also located in Ouémé River in Benin. 1 Status in the United States No records of Malapterurus minjiriya in trade or in the wild in the United States were found. The Florida Fish and Wildlife Conservation Commission has listed the electric catfish M. minjiriya as a prohibited species. Prohibited nonnative species (FFWCC 2018), “are considered to be dangerous to the ecology and/or the health and welfare of the people of Florida. These species are not allowed to be personally possessed or used for commercial activities.” Means of Introductions in the United States No records of Malapterurus minjiriya in the wild in the United States were found.
    [Show full text]
  • Ethnobotanical Survey of Flora and Fauna Species in Kainji Lake National Park New-Bussa Local Government Area, Niger State, Nigeria
    Annual Research & Review in Biology 36(8): 120-131, 2021; Article no.ARRB.63994 ISSN: 2347-565X, NLM ID: 101632869 Ethnobotanical Survey of Flora and Fauna Species in Kainji Lake National Park New-Bussa Local Government Area, Niger State, Nigeria M. R. Umar1* 1Department of Forestry and Wildlife Management, School of Agriculture and Agricultural Technology, Modibbo Adama University of Technology, Yola, Nigeria. Author’s contribution The sole author designed, analysed, interpreted and prepared the manuscript. Article Information DOI: 10.9734/ARRB/2021/v36i830417 Editor(s): (1) Dr. Manikant Tripathi , Dr. Ram Manohar Lohia Avadh University, India. Reviewers: (1) Muhammad Farooq Azhar , Bahauddin Zakariya University, Pakistan. (2) Pampi Ghosh, Vidyasagar University, India. Complete Peer review History: https://www.sdiarticle4.com/review-history/63994 Received 20 October 2020 Accepted 26 December 2020 Original Research Article Published 01 September 2021 ABSTRACT This study was carried out to identify the Ethnobotanical uses of flora and fauna species in Kainji Lake National Park New-Bussa Local Government Area, Niger State, Nigeria. The study objectives were to document knowledge and generate data on identification and uses of Plant species and animal species in Borgu and Zugurma sector of the park. Ethnobotanical surveys based on interviews from the park ranges, plant taxonomist and zoologist staff of the park and Botanical survey was carried out based on sample plots. A stratified random sampling was used to select sample sites within the two sector of the Park, based on flora and fauna sub-classification. A total Ten (10) plots of 100m x 100m strips were demarcated within the two sectors.
    [Show full text]
  • Fish Biology and Fisheries of the Floodplain Rivers in the Alitash National Park, Northwestern Ethiopia by Alamrew Eyayu
    FISH BIOLOGY AND FISHERIES OF THE FLOODPLAIN RIVERS IN THE ALITASH NATIONAL PARK, NORTHWESTERN ETHIOPIA BY ALAMREW EYAYU GRADUATE PROGRAMS COLLEGE OF NATURAL AND COMPUTATIONAL SCIENCES DEPARTMENT OF ZOOLOGICAL SCIENCES FISHERIES AND AQUATIC SCIENCES STREAM A thesis submitted to the Department of Zoological Sciences, Addis Ababa University in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Biology (Fisheries and Aquatic Sciences) Addis Ababa University, Ethiopia May, 2019 ADDIS ABABA UNIVERSITY SCHOOL OF GRADUATE STUDIES This is to certify that the thesis prepared by Alamrew Eyayu entitled “Fish biology and fisheries of the floodplain rivers in the Alitash National Park, northwestern Ethiopia", and submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Biology (Fisheries and Aquatic Sciences Stream) complies with the regulations of the university and meets the accepted standards regarding originality and quality. Signed by the Examining Committee: Examiner _______________________ Signature _______________ Date___________ Examiner _______________________ Signature _______________ Date___________ Advisor ________________________ Signature _______________ Date___________ ____________________________________________________________ Chair of Department or Graduate Program Coordinator ii Abstract Ethiopia is a landlocked country endowed with over 13637 km2 of standing water surface area and 8065 km river length arranged into 12 drainage basins and harbor unevenly diversified
    [Show full text]
  • Zootaxa, Checklist of Catfishes, Recent and Fossil
    MALAPTERURUS La Cepède, 1803 Malapterurus La Cepède, 1803: 90. Type species: Silurus electricus Gmelin, 1789. Type by designation under ple- nary powers; placed on Official List (ICZN Opinion 93, Direction 56). Gender: Masculine. Anacanthus Minding 1832: 117. Type species: Silurus electricus Gmelin, 1789. Type by monotypy. Preoccupied by Anacanthus Gray, 1830, in fishes. Gender: Masculine. Malopterurus Agassiz, 1846: 223. Type species: Silurus electricus Gmelin, 1789. Type by being a replacement name. Unjustified emendation of Malapterurus La Cepède, 1803. Gender: Masculine. Remarks: Malapterus Jarocki, 1822, Malapturus Swainson, 1838, and Malacopterurus Gill, 1890, are considered to be incorrect subsequent spellings, and therefore unavailable names, in ICZN Direction 56. Forsskål (1775: 16) applied the generic name of the electric ray, Torpedo, to his account of the electric catfish of the Nile. Malapterurus barbatus Norris, 2002 Malapterurus barbatus Norris, 2002: 88, fig. 49. Type locality: Sierra Leone, Sewa River system, Bagbe River at Yfin, 8º42'N, 11º05'W. Holotype: MNHN 1990-100. Distribution: Western Guinean rivers from the Kolente River, Sierra Leone, to the Borlor River, Liberia (Norris, 2002). Malapterurus beninensis Murray, 1855 Malapterurus Beninensis Murray, 1855: 20, pl. Type locality: Old Calabar. Syntypes: BMNH 1856.1.16.1 (2), possi- bly NMSZ 1855.27 (2). ? Malapterurus affinis Günther, 1864: 220. Type locality: Old Calabar. Syntypes: BMNH 1859.11.20.1 (1), BMNH 1864.7.9.1 (1). Distribution: Coastal plains of west central Africa, from the Volta River, Ghana, to the Shiloango River, Angola (Norris, 2002). Remarks: Synonymy of Malapterurus affinis with M. beninensis considered tentative by Norris (2002). Malapterurus cavalliensis Roberts, 2000 Malapterurus cavalliensis Roberts, 2000: 8.
    [Show full text]
  • Major Fish Composition of Alwero Dam and Baro/Kir River of Gambella, South West Ethiopia
    Asian Journal of Advances in Research 9(3): 13-22, 2021 MAJOR FISH COMPOSITION OF ALWERO DAM AND BARO/KIR RIVER OF GAMBELLA, SOUTH WEST ETHIOPIA TSIGABU GEBRESELASSIE1, GETAHUN ASEBE1* AND KETEMA TELAHUN1 1Gambella University, College of Agriculture, Department of Animal Production and Health Gambella, Ethiopia. AUTHORS’ CONTRIBUTIONS This work was carried out in collaboration among all authors. Authors GA, TG and KT Conceptualized the writing and Formal analysis by authors GA, TG , Investigation by authors GA, TG, Methodology by authors GA, TG, KT. Original draft written by author GA and review and editing by authors GA, TG. All authors read and approved the final manuscript. Received: 18 May 2021 Accepted: 22 July 2021 Published: 26 July 2021 Original Research Article ABSTRACT Introduction: Fish are the top listed water bodies’ resources which are consumed by human beings worldwide and contributed a substantial part of the nutrition supply and important source of diets. Methods: A study has been conducted in Baro/Kir River and Alwero dome of Gambella people’s regional state to identify the major components of fish. Totally 24 fish species from 386 specimens have been collected using gillnet with mesh sizes of 4-14cm, cast net, hook, lines, and traditional fishing gears were also used such as spears and they are identified using FAO standards, biological atlases, and senior biologists in to order, family and species. Results: The outcome of this study showed that a total of 24 species grouped in 6 orders and 15 families were identified. Baro/Kir River considerably has the highest number of fish diversity (H=2.22) from the sampled sites.
    [Show full text]
  • Ichthyofaunal Diversity of the Omo-Turkana Basin, East Africa, with Specific Reference to Fish Diversity Within the Limits of Ethiopian Waters
    13 2 2059 the journal of biodiversity data 4 March 2017 Check List ANNOTATED LIST OF SPECIES Check List 13(2): 2059, 4 March 2017 doi: https://doi.org/10.15560/13.2.2059 ISSN 1809-127X © 2017 Check List and Authors Ichthyofaunal diversity of the Omo-Turkana basin, East Africa, with specific reference to fish diversity within the limits of Ethiopian waters Mulugeta Wakjira1, 3 & Abebe Getahun2 1 Jimma University, College of Natural Sciences, Department of Biology, P.O. Box 378, Jimma, Ethiopia 2 Addis Ababa University, College of Natural Sciences, Department of Zoological Sciences, P.O. Box 1176, Addis Ababa, Ethiopia 3 Corresponding author. E-mail: [email protected] Abstract: The freshwaters of the East African nation of (Boulenger 1903a). A few years later, 14 species from Ethiopia are divided into nine main drainage basins. One the middle to upper Omo River, and five species from of these, the Omo-Turkana basin, spans a large part of northeastern Lake Turkana were identified from the southwestern Ethiopian highlands and northern Kenya, collections of W. N. McMillan and Zaphiro (Boulenger and consists of the Omo-Gibe (or simply, Omo) River and a 1906). At the same time, Pellegrin (1905) identified four northern portion of Lake Turkana. Despite some develop- species from Lake Turkana in the collections of Maurice ment activities, including proposed dam construction with de Rothschild from 1904–1905. The first organized potential impacts on ichthyofaunal diversity, the Ethiopian expedition to the Omo-Turkana basin was undertaken by part of the basin generally lacks comprehensive study or Cambridge University in 1930–31 (Worthington 1931, full scientific documentation.
    [Show full text]
  • The Food and Feeding Habits of Fishes of a Coastal Nigeria River
    Scientific Research Journal (SCIRJ), Volume VII, Issue IX, September 2019 43 ISSN 2201-2796 The Food and Feeding Habits of Fishes of a Coastal Nigeria River. Blessing J. Oribhabor*, Aniekan E. Akpan and Gift S. David Department of Fisheries and Aquatic Environmental Management, Faculty of Agriculture, University of Uyo, PMB 1017, Uyo, Akwa Ibom State, Nigeria. *Corresponding author Email: [email protected] DOI: 10.31364/SCIRJ/v7.i9.2019.P0919697 http://dx.doi.org/10.31364/SCIRJ/v7.i9.2019.P0919697 ABSTRACT The food and feeding habits of fish community of Qua Iboe River in Akwa Ibom State, Nigeria was studied for eight mouths (January-August, 2009). The total number of fish examined was two hundred and twenty-one (221) out of which one hundred and seventy-seven (80.1%) had food while forty-four (19.9%) specimens were empty stomach. A total of 51 (23.1%) individuals had full stomachs while 72 (32.6%), 33 (14.9%) and 21 (9.5%) were ¾, ½ and ¼ full respectively. The data shows that, the food items consumed by these fish species covered a wide feeding range. Analysis of the stomach contents reveal algae, macrophytes (plants), shrimps, insects, fish, fish parts, sand, mud, unidentified plant matter, unidentified animal matter, nematodes and worms as the main food categories selectively eaten by fishes of Qua Iboe River. These fishes exhibited benthopelogic exploitation and grazing tendency. It is shown that, notopterids consumed a wide range of food resources available. The characids: B. leuciscus, A. spilopterus and A. baramose also fed on a wide variety of food resources (algae, insects, shrimps, crabs, fish parts and unidentified matter).
    [Show full text]
  • Original Article RELATIONSHIP BETWEEN BASIC
    Val IJABR Vol. 7(1): 73 - 87 (2016) International Journal of Applied Biological Research 2016 Original Article RELATIONSHIP BETWEEN BASIC MORPHOMETRIC MEASUREMENTS, GROWTH PATTERN AND GROSS CARCASS VARIATION IN PROXIMATE COMPOSITION OF THE BODY PARTS OF ELECTRIC FISH (Malapterurus electricus) FROM AGAIE- LAPAI DAM, NIGER STATE, NIGERIA Bake, G. G*., Aleriwon, M. E., Kpotun, A and Sadiku, S. O. E. Department of Water Resources, Aquaculture and Fisheries Technology, Federal University of Technology Minna Minna Niger state – Nigeria. Submitted: March, 2016; Accepted: May, 2016; Published: June, 2016. ABSTRACT A total of one hundred and twenty (120) electric catfish (Malapterurus electricus) specimens, a commercially important freshwater fish inhabiting Agaie-Lapai dam, Niger state, Nigeria were collected to evaluate the relationship between basic morphometric measurements, growth pattern and gross carcass variation in proximate composition of its body parts. Fish samples were collected forth-nightly with artisanal fishing gears (gillnets, cast nets and seine nets) for a period of seven months. The results of the biometrics showed that the fish sample had a standard length of 12-19.93cm with mean value of 15.76 ±2.08, with total length ranging from 14.30 – 21.59 cm with a mean value of 17.97 ± 2.22 and the body weight ranging between 26.1- 106.50g. The growth pattern analysis depicted that the fish was positively allometric with b value of 3.14 and condition factor “K” ranged from 1.13 – 1.93 with a mean value of 1.48±0.22. The results of the whole body proximate composition and gross carcass composition of its body parts showed that there was an inverse relationship between the body lipid and moisture in the whole body composition and that moisture was highest in the fish body in October and lowest in July while lipid was highest in June and lowest in October.
    [Show full text]